Hi Nicanor,

    I am trying to internationalize the DatePicker. I am not using 
DatePicker directly but DateBox widget.

    Is there any way to specify the locale  in order to change the display 
of DatePicker? I understand that the supported locales has to be entered in 
myapp.gwt.xml
   <extend-property name="locale" values="en,fr"/>

    I am not sure how the widget picks this up.

Regards,
Aravind

On Thursday, 22 March 2012 14:14:04 UTC+5:30, nicanor.babula wrote:
>
> Thank you very much, Thomas. Setting -deploy and -extra to directories 
> outside the war solved the problem.
> Problem solved.
>
>
> On Wed, Mar 21, 2012 at 4:42 PM, Thomas Broyer <[email protected] 
> <javascript:>> wrote:
>
>>
>>
>> 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 [email protected] 
>> <javascript:>.
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> -- 
> Nicanor Cristian Babula
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to