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