• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Temporarily change the preferred language setting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Temporarily change the preferred language setting? (From: David Hoerl <email@hidden>)

  • Prev by Date: Re: GNU GPL Controller Layer for Sets
  • Next by Date: Re: Handling a very large NSTextView
  • Previous by thread: Re: Temporarily change the preferred language setting?
  • Next by thread: Meeting - Boston / Pittsubrgh CocoaHeads April 14
  • Index(es):
    • Date
    • Thread