Hi, you can't do it in runtime since each locale will produce different 
permutations, but what you can do is set the locale parameter of the URL. 
You can use UrlBuilder like this:

UrlBuilder url = Window.Location.createUrlBuilder();
url.setParameter("locale", locale);
Window.Location.replace(url.buildString());

If you need true runtime switching you will need to implement more complex 
approach.

On Monday, March 18, 2013 9:53:31 AM UTC+1, sahli....@gmail.com wrote:
>
> Hi, i'm beginner in gwt, how can i  change the locale language at runtime 
> like the 
> http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCheckBox, 
>
> thank you, 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to