Re: Temporarily change the preferred language setting?
Re: Temporarily change the preferred language setting?
- Subject: Re: Temporarily change the preferred language setting?
- From: Douglas Davidson <email@hidden>
- Date: Thu, 7 Apr 2005 08:25:58 -0700
On Apr 7, 2005, at 8:50 AM, David Hoerl wrote:
I would like to test out my program in German, but my computer is
set for English (using the Sys Pref International palette).
I'd like to run my program from XCode using the "Developer" option,
and neither have to either change the pref setting nor run it from
another login (set to German as preferred language).
Is there a way to programmatically change the setting (or use a
environmental variable to accomplish the same thing?)
The command-line version would look something like this:
~/Projects/MyApp/build/MyApp.app/Contents/MacOS/MyApp -AppleLanguages
"(de,en)"
You should be able to set the arguments in Xcode if you want to
launch from there. (The quotes are needed to protect the argument
from the shell; leave them off in other contexts.)
Douglas Davidson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden