Re: Change DatePicker language
On Wednesday, March 21, 2012 2:02:27 PM UTC+1, nicanor.babula wrote:
Hi everyone,How can I change the display language of the DatePicker object? My app is internationalized on a GWT level, but enabling more than 1 language in module.gwt.xml generates a war too big to be deployed on Appengine,
Could it be because of the WEB-INF/deploy? If so, pass -deploy to the compiler to redirect these files to another folder outside your WAR.
therefore I am stuck with the default which I assume is english. Is there a way to change only the locale of the DatePicker or to change the default locale?
You can change the default locale with the following in your gwt.xml:
<extend-property name="locale" value="fr" />
<set-property-default name="locale" value="fr" />
<set-property name="locale" value="fr" />
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/-/NMT8ZWQR7eYJ.
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