I have used the following code, trying to detect the client's locale,
but always I get the "default" one, which is the EN_US, even if I
change the locale of my system to French, for example.
[code]
final LocaleInfo locale = LocaleInfo.getCurrentLocale();
decimalSeparator =
locale.getNumberConstants().decimalSeparator();
thousandSeparator =
locale.getNumberConstants().groupingSeparator();
[/code]
So, can anybody advise me what I miss, please?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.