Bruce Sorge wrote: > I have a new site I am working on that is going to be multi-lingual (Spanish > and English). Has anyone done this before and if so, what are some best > approaches? It is of course database driven, and it is a model (not nude) > site. What are some of the challenges I may face?
well you can start by reading the chapter on globalization in ben's advanced cf book. but in general: i would design & build the site as if these weren't the only languages involved, you *will* be asked sooner or later to add more. what that means is simply to stick w/cf's default encoding & "just use unicode" & keep in mind that not everyone uses gregorian calendars (be prepared to swap calendars). do you need to handle timezones? if so you either need to set your cf server to UTC or store your dates as java epoch offsets rather than datetime objects (which cf will toss your dates into the server's tz no matter what you intended). i'd also look at what locales you need to handle, "english" & "spanish" aren't the same everywhere. you should actually be thinking in terms of locales rather than languages (though you can get away w/"en" & "es" as locales). who will be doing the translations? you'll need to manage these, which is why i will always recommend using resource bundles (rb) & some rb tool (jason sheedy just released a pretty nifty flex based one a couple of days ago, we've been using icu4j rbManager since forever). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277457 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

