On Friday, September 21, 2012 10:16:11 AM UTC+2, roman_e wrote:
>
> Hello
>
> I use the i18n functionality of GWT to create a multilingual 
> webapplication and I'd like to translate it into swedish too.
> But there's the problem that the date format for GWT is wrong in its 
> constants file, so it's in the wrong format on the page.
>

Those formats come from the Unicode Consortium's CLDR: 
http://cldr.unicode.org/
I see they released a new version a week ago, which brings a lot of changes 
according to their announcement, so hopefully it's just that GWT should be 
updated to use these new definitions?
 

> Is it possible to overwrite these constants somehow without changing the 
> file in the gwt-user.jar itself?
>

I think the easiest would be to define a new locale (e.g. se_XX) where you 
override the formats you want to change, and make sure you never use the 
"se" locale but always the se_XX one (putting only se_XX in the "locale" 
property might be enough, with the drawback that "se" would then use the 
fallback locale).

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/8MgLQFpo0SgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to