File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
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?
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: How to get user locale
Customized date separator
Deprecated method : getCurrentLocale()
Getting locale/language in struts beans
need help on Locale specifice Date format
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013