On 14 oct, 03:53, Constantin Tanno <[email protected]> wrote:
> Our application.gwt.xml file contains this:
>
> <extend-property name="locale" values="en"/>
> <set-property-fallback name="locale" value="en"/>
>
> What I want to do is to tell GWT that a) there is only ONE locale
> supported, b) it is "en", and c) it - "en" - is the default locale.
>
> However, when I configure the file like this,
> LocaleInfo.getAvailableLocaleNames() returns two locales: “default”
> and “en”, and I can tell that GWT is compiling two locale
> permutations.
>
> I know I can fix this by just running the app in the default locale,
> but the GWT docs specifically recommend NOT doing this, 
> seehttp://code.google.com/webtoolkit/doc/latest/DevGuideI18nLocale.html.
>
> So, how do I fix this?

Add <set-property name="locale" value="en" /> to only support the "en"
locale.

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