Alex Rivera | Logout

How to change default locale in GWT

Asked 2010-01-21T14:08:52.260
16

Our application should be fixed to use eb-GB locale. For now I've added:

<extend-property name="locale" values="en_GB"/>

But this means that GWT builds premutations for both. How to setup GWT to eb-GB by default? Or how to remove default from compilation?

Edit
Report

1 Answer

1

Here is a better hack (see the second comment).

Note that having only this code

<set-property name="locale" value="en_GB" />

causes LocaleInfo.getLocaleNativeDisplayName(localeName) to return empty string for default locale.

answered 2011-07-10T09:14:58.397

Your Answer