Hello.
We are trying to implement Runtime Locales as explained in:
https://developers.google.com/web-toolkit/doc/latest/DevGuideI18nLocale#RuntimeLocalesWe are using a gwt.xml like this one:
<module> <inherits name='com.google.gwt.user.User'/> <inherits name="com.google.gwt.i18n.CldrLocales"/> <extend-property name="locale" values="en"/> <extend-property name="locale" values="es"/> <extend-property name="locale" values="es_419"/> <set-property name="locale" value="es,es_419,en" /> <set-property-fallback name="locale" value="en" /></module>
But the problem is that when we in runtime select locale=es_AR, the localized strings that are displayed are those from Messages_es.properties instead of those from Messages_es_419.properties as we would expect.
Why is this happening? In theory es_AR locale should "extend" es_419 locale (Latin American Spanish), so the compiler should look for the substitution strings following this priority:
1) Messages_es_AR.properties
2) Messages_es_419.properties
3) Messages_es.properties
4) Messages.properties
But apparently the step 2 is not performed. Do you know how to fix this?
When we use locale=es_419 the strings are OK but this not a solution because we also need currency information which is in the es_AR locale and not in the es_419 locale.
Thanks!
Oscar