I try to get all date/time format pattern in GWT, using DateTimeFormat.PredefinedFormat to get all pattern of the current locale. but how can i get all pattern for an other locale.
I don't think you can do this. While building your application the GWT-Compiler creates multiple version of your application for the different locales. One specific version is then loaded by the browser, thus the other locale are not available at runtime. Read up on Deferred Binding if you want to know more: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html However there is an option to force a certain locale. This can be useful if you only support one locale, or it can be used for testing purposes. Add the following lines to your module XML file:
| |||
|