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

(See the locale selector in the upper right.)

http://code.google.com/webtoolkit/doc/latest/DevGuideI18n.html
http://code.google.com/webtoolkit/doc/latest/DevGuideI18nLocale.html#RuntimeLocales

On Dec 28, 12:21 pm, nacho <[email protected]> wrote:
> 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 parameter. For examplehttp://myapp.com?locale=es
>
> Is this the correct way to change the display language?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to