Re: translate DateTimeFormat output
someone?? On Internacionalization documents they don't describe how to translate Dateformat outputs to others languages. I mean, is it determined by browser client, since javascript runs on client? tnx in advance. On Sep 3, 11:06 pm, PH phlcas...@gmail.com wrote: Hi Dominik, tnx for your reply!! Actually I was looking for some solution where I could determine at run time in which language I should display my date information (ie. portuguese, english, spanich, etc). Maybe this is determined by the client browser? Since the JS will execute on the client, it will print using the client system language?! Tnx once more! Best regards PH On Sep 2, 6:53 pm, Dominik Steiner dominik.j.stei...@googlemail.com wrote: Hi PH, you mean how you can set the locale for a specific language? I added this line to the modules gwt.xml file extend-property name=locale values=es/ This one will set the locale for the language of spanish. HTH Dominik On 2 Sep., 14:34, PH phlcas...@gmail.com wrote: Hi guys, sorry if this question looks stupid, but I didn't find an answer for it. How could I translate the DateTimeFormat.getFormat().format() output? ie.: DateTimeFormat.getFormat( ).format(dateobject); from: October 2009 to Outubro 2009 Tnx in advance. Best regards, PH --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: translate DateTimeFormat output
Hi Dominik, tnx for your reply!! Actually I was looking for some solution where I could determine at run time in which language I should display my date information (ie. portuguese, english, spanich, etc). Maybe this is determined by the client browser? Since the JS will execute on the client, it will print using the client system language?! Tnx once more! Best regards PH On Sep 2, 6:53 pm, Dominik Steiner dominik.j.stei...@googlemail.com wrote: Hi PH, you mean how you can set the locale for a specific language? I added this line to the modules gwt.xml file extend-property name=locale values=es/ This one will set the locale for the language of spanish. HTH Dominik On 2 Sep., 14:34, PH phlcas...@gmail.com wrote: Hi guys, sorry if this question looks stupid, but I didn't find an answer for it. How could I translate the DateTimeFormat.getFormat().format() output? ie.: DateTimeFormat.getFormat( ).format(dateobject); from: October 2009 to Outubro 2009 Tnx in advance. Best regards, PH --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
translate DateTimeFormat output
Hi guys, sorry if this question looks stupid, but I didn't find an answer for it. How could I translate the DateTimeFormat.getFormat().format() output? ie.: DateTimeFormat.getFormat( ).format(dateobject); from: October 2009 to Outubro 2009 Tnx in advance. Best regards, PH --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---