PDA

View Full Version : Runtime localization of GWT-Ext



bugumanuextgwt
9 Dec 2010, 8:06 AM
Hi,

Because of the character of our application the i18n support has been implemented in a dynamic way
without making use of the standard methods of GWT like Messages/Constants/Dictionary,
basically our app gets the language using an RPC call after the user has logged in.

The problem is that I don't know how to select the locale of GWT-Ext -after- the page has been loaded.

I would also like how to add support to other languages to GWT-ext or where to find info about this.
I've searched for it but it looks like there isn't too much.

Thanks.

sven
9 Dec 2010, 8:11 AM
The problem is that I don't know how to select the locale of GWT-Ext -after- the page has been loaded.You cannot. The locales get compiled down into the javascript. When the page is loaded, its too late as one locale is already loaded.