Re: Change the Language of just one Application
Re: Change the Language of just one Application
- Subject: Re: Change the Language of just one Application
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sat, 24 May 2008 19:59:14 +0200
You can pass this argument:
-AppleLanguages '(de)'
AppleLanguages is the UserDefauts key (from the NSGlobalDomain domain)
that control this behavior.
Le 24 mai 08 à 11:09, Gerriet M. Denkmann a écrit :
Somewhere I have read (if my memory is not faulty) that it is
possible to lauch an app with some arguments (or environment
variables?) changing the preference order of languages.
E.g. my preferred language is English, but I want to test the German
localization of some app.
Xcode allows me to set:
Command-line arguments to pass to the program upon launch
Environment variables to set before launching the program
But what to set where?
Another (related) problem: this works:
> open /Applications/TextEdit.app
But this does not:
> open /Applications/TextEdit.app -NSOpen /tmp/a
although recommended as "more commonly used command-line argument"
by the "Runtime Configuration Guidelines" in "Using Launch Arguments".
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden