Re: Is there anyway to choose language in runtime?

2010-12-30 Thread nacho
Thanks. On 28 dic, 15:59, Jim Douglas jdou...@basis.com wrote: That seems to be the approved method, but with one suggestion -- if you need to work with localized number and date formats, consider offering complete locales (es_MX) as opposed to just language codes (es).

Is there anyway to choose language in runtime?

2010-12-28 Thread nacho
Hi, i'm using i18n with Constants, i have two languages {ES, EN} and it runs ok. What i need that when the user choose another language in a combo, for example [Spanish] show the content of my app in Spanish. What i'm doing is to redirect to the user to my app url passing the locale as

Re: Is there anyway to choose language in runtime?

2010-12-28 Thread Jim Douglas
That seems to be the approved method, but with one suggestion -- if you need to work with localized number and date formats, consider offering complete locales (es_MX) as opposed to just language codes (es). http://gwt.google.com/samples/Showcase/Showcase.html?locale=fr_FR#!CwConstantsExample