A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
How to get user locale
Joined: Feb 24, 2005
Feb 01, 2006 19:33:00
Is there any method to get the user locale?
I found that there's a method getDefault(), but it seems get the system locale, but not the user locale.
Any ideas? Thanks!
Joined: Nov 24, 2005
Feb 01, 2006 19:39:00
By reading variables like user.language, user.country and user.variant ?
All roads lead to JavaRanch
Joined: Oct 14, 2005
Feb 02, 2006 09:38:00
So for example you have a Japanese person sitting at a computer in the United States, and you want to find out that the person is Japanese? No? Then what is the difference in your mind between the "user" locale and the "system" locale?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to get user locale
Getting locale/language in struts beans
Customized date separator
need help on Locale specifice Date format
Deprecated method : getCurrentLocale()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014