Thursday, December 16, 2010

i18n default locale fallback

in 2.1.0 I have the problem that I define my locales like so:

<extend-property name="locale" values="en,de"/>
<set-property-fallback name="locale" value="en"/>

so actually the 'default' locale is excluded and can never happen that
would be used. I dont provide any key for the default locale, neither
in my Constants nor in appropriate .properties file. In dev mode it
works like expected but I cannot compile, because the generator says
that no resource was found for the key, as it tries to generate a
class for the default locale and expects either @DefaultText or
default properties file.

Has someone a workaround? Maybe a patch?


issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=5769

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate