I recently had a problem with Java locales on my system, and I tried to run a project with this configuration:
-Duser.language=pt_BR -Duser.country=BR
After googling, I found this site , because of which I changed my configuration to:
-Duser.language=pt -Duser.region=BR -Duser.country=BR
And the problem has disappeared. Also, I found pages like this , talking about using another property called user.variant .
I'm not following the properties of LC_ *, I'm just trying to figure out what is the difference between these four properties?
user.language user.region user.country user.variant
thanks
source share