On Thursday, May 2, 2013 3:30:44 AM UTC+2, Arkady wrote:
>
> Hi,
>
> I have the following settings in my gwt.xml file:
>
>   <extend-property name="locale" values="en"/>
>   <extend-property name="locale" values="zh_CN"/>
>   <set-property-fallback name="locale" value="en"/>
>
> In GWT 2.3, when I invoked LocaleInfo.getAvailableLocaleNames(), I got 
> back:
>
> default, en, en_AS, en_AU, en_BE, en_BW, en_BZ, en_CA, en_GB, en_GU, 
> en_HK, en_IE, en_IN, en_JM, en_MH, en_MP, en_MT, en_NA, en_NZ, en_PH, 
> en_PK, en_SG, en_TT, en_UM, en_US, en_VI, en_ZA, en_ZW, zh_CN, zh_Hans_CN.
>
> In GWT 2.5, the same call returns:
>
> default, en, en_AS, en_AU, en_BE, en_BW, en_BZ, en_CA, en_GB, en_GU, 
> en_HK, en_IE, en_IN, en_JM, en_MH, en_MP, en_MT, en_NA, en_NZ, en_PH, 
> en_PK, en_SG, en_TT, en_UM, en_US, en_VI, en_ZA, en_ZW, zh, zh_CN, zh_SG, 
> zh_Hans, zh_Hans_CN, zh_Hans_HK, zh_Hans_MO, zh_Hans_SG.
>
> I am wondering, why "zh" and all its locales are included in the list, 
> when I configured "zh_CN" only?
>
> It is a regression from 2.3.
>
> Is there any other API available that will return only locales that adhere 
> to the configuration?
>

No idea but would you mind filing an issue; this clearly looks like a bug 
to me. 

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