I've recently had a problem with Java locales in my system, and I was trying to run a project with this configuration:
-Duser.language=pt_BR
-Duser.country=BR
After googling, I found this site which had me changing my configuration to:
-Duser.language=pt
-Duser.region=BR
-Duser.country=BR
And the problem was gone. Additionaly I've found pages like this talking about using another property called user.variant
.
I'm not after LC_* properties, I'm just trying to find out what's the difference between these four properties?
user.language
user.region
user.country
user.variant
Thanks
Please take a look at the javadoc of Locale
http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html
It describes language, variant, and so on.