i18n default locale fallback

2010-12-16 Thread ep
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: i18n default locale fallback

2010-12-16 Thread ep
ok, got a workaound, see issue.

On 16 Dez., 11:22, ep eplisc...@googlemail.com wrote:
 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: i18n default locale fallback

2010-12-16 Thread Nagin Kothari
Also GWT compiles for one more permutaion for default locale, which is
unnecessary.


Nagin kothari
On Thu, Dec 16, 2010 at 3:52 PM, ep eplisc...@googlemail.com wrote:

 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-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.