How do I get the compiled locales from my client application?

LocaleInfo.getAvailableLocaleNames() always returns null, even though
my application.gwt.xml includes:

<inherits name='com.google.gwt.i18n.I18N' />

and

<extend-property name='locale' values='no_NO' />
<extend-property name='locale' values='sv_SE' />


What I want is simply a String array like {no_NO,sv_SE}

In the no-cache js file (e.g. application.nocache.js) I find the
following code (if compile style is set to DETAILED):

values[$intern_34] = {'default':0, no_NO:1, sv_SE:2}; // Where
$intern_34 is set to 'locale'

Sadly, I cannot figure out how to reach this variable (values) since
it's going to be obfuscated.

Any ideas?

-- 
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