Changing locale on Mac OS X?

P

Paul Tomblin

When I'm testing stuff for different locales, I usually just change the
environment variable "LANG", as in
LANG=zh_CN java testFormat
This works fine on Linux, and I swear it used to work on Mac OS X, but
right now on my new Powerbook it's not working. Any ideas why?
 
P

Paul Tomblin

In a previous article, (e-mail address removed) (Paul Tomblin) said:
When I'm testing stuff for different locales, I usually just change the
environment variable "LANG", as in
LANG=zh_CN java testFormat
This works fine on Linux, and I swear it used to work on Mac OS X, but
right now on my new Powerbook it's not working. Any ideas why?

Never mind, found it:
java -Duser.region=CN -Duser.language=zh testFormat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,246
Members
46,839
Latest member
MartinaBur

Latest Threads

Top