|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
i18n featuresIsaac,
I am comparing some frameworks and your i18n features make it a compelling choice for my application. We currently have a large app with 16 languages supported, but I think that it may be time to start again and put in some formal code rules etc and take on a framework. There are 2 things I would like to know 1. are there any major sites using onTap on a global presence? We are delivering a large app globally and wanted to see if there were any comparable sites out there. 2. There is a business need to allow clients to administer their own set of language labels. This means we have not only multiple language sets, but multiple sets of labels based on the client within a language. Can onTap deal with this efficiently? Thanks -- Duncan I Loxton www.sixfive.co.uk <http://www.sixfive.co.uk> duncan.loxton@... "I can only please one person per day. Today is not looking good. Tomorrow isn't looking much better." Dilbert ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1989 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
Re: i18n featuresI assume Isaac is really busy or is gone, since I haven't heard a peep from him on any list in a while.
Anyway, for #2 below, I believe you can do this with the branding features of onTap. Essentially, with branding you can "overwrite" the regular values with specific values for a customer. Check out the documentation on this. As for #1, I have no idea if large-scale sites are using onTap. Isaac would know. I know we are converting a fairly complicated app to onTap, though it is still in the planning stages at this point, which probably isn't much help to you. Cedric >Isaac, > >I am comparing some frameworks and your i18n features make it a compelling >choice for my application. We currently have a large app with 16 languages >supported, but I think that it may be time to start again and put in some >formal code rules etc and take on a framework. > >There are 2 things I would like to know >1. are there any major sites using onTap on a global presence? We are >delivering a large app globally and wanted to see if there were any >comparable sites out there. >2. There is a business need to allow clients to administer their own set of >language labels. This means we have not only multiple language sets, but >multiple sets of labels based on the client within a language. Can onTap >deal with this efficiently? > >Thanks > >-- >Duncan I Loxton >www.sixfive.co.uk <http://www.sixfive.co.uk> >duncan.loxton@... > >"I can only please one person per day. Today is not looking good. Tomorrow >isn't looking much better." Dilbert ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1991 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
|
|
|
Re: i18n featuresGood to see you back Isaac! Also glad to see Vince is working on making onTap BD compatible. This gives me some hope that we can at least start development using onTap, with hopes that by the time we are done, BD support will exist.
Cedric > > I assume Isaac is really busy or is gone, since I haven't > > heard a peep from him on any list in a while. > > Or both. :) > > > Anyway, for #2 below, I believe you can do this with the > > branding features of onTap. Essentially, with branding you > > can "overwrite" the regular values with specific values > > for a customer. Check out the documentation on this. > > Yes, there are several ways this can be accomplished. > > Personally I think the most elegant method is to use the normally > enabled i18n and branding directories with XHTML and simply reset any > localization strings a client would like to have changed in the > branding directories. So for example, for site-wide localization you > may read (and cache) a resource bundle in the > /_components/_application/ directory. For the client WidgetWorld you > could then reset any particular english-localized string for them in > the directory > /_components/_brand/www_widgetworld_com/_application/_l10n/en/ (or of > course fr for french, de for german, etc.). The branding directory > (www_widgetworld_com) is based on the domain used by the server but > can be manually set in your /_components/_appsettings.cfm template - I > believe the variable is request.tap.path.brand, but check the > getting-started documentation to be sure. > > Localized strings can be set using the function #request.tapi. > ls("name" [,"value"] [,overwrite])# where "name" is the canonical name > you're using to identify the localized string, value is the localized > string and overwrite indicates if an existing value should be > overwritten (defaults to true). Essentially request.tapi.ls() works > like the ColdFusion native SetVariable() function although it is > specifically for setting (and returning) localized strings within the > framework. > > Once you've set these variables you can either use request.tapi.ls() > to return them again to the output buffer or you can simply use the > name of the variable in the text content of any xhtml element, like > so: > > <cfset request.tapi.ls("%test","this is only a test")> > <cfmodule template="#request.tapi.xhtml()#"> > <div>%test</div> > </cfmodule> > > The html library will then automatically convert %test to "this is > only a test". Note that this does not work with attributes, i.e. > <input type="submit" value="%test" /> will not be converted, so you > would need to use <input type="submit" value="#request.tapi. > ls("%test")#" /> > > > As for #1, I have no idea if large-scale sites are using > > onTap. Isaac would know. I know we are converting a fairly > > complicated app to onTap, though it is still in the > > planning stages at this point, which probably isn't much > > help to you. > > I wouldn't necessarily know actually, since I don't keep tabs on who > downloads it... Although at the moment I'm not aware of any > large-scale sites currently using it, which tends to favor the idea > that there aren't yet. > > I know Cedric will be pleased to know that I got a phone call from the > folks at New Atlanta the week before the storm to let me know that > Vince Bonfanti had taken a personal interest in trying to bridge the > gap between BlueDragon and the current version of the framework (and > to feel-out the possibility of sales leads). :) > > Interest in the framework in general has been steadily increasing > recently, so I expect to be fielding a lot more questions about its > usefulness for various tasks and in the process of course we'll be > addressing any barriers to those tasks (i.e. scalability/performance > issues) which may come up in pre-adoption testing. > > > s. isaac dealey 434.293.6201 > new epoch : isn't it time for a change? > > add features without fixtures with > the onTap open source framework > > http://www.fusiontap.com > http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:42:1995 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/42 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:42 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.42 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
| Free embeddable forum powered by Nabble | Forum Help |