Skip navigation.
 
mlRe: Change the Language of just one Application
FROM : Jean-Daniel Dupas
DATE : Sat May 24 19:59:14 2008

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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>

Related mailsAuthorDate
mlChange the Language of just one Application Gerriet M. Denkman… May 24, 11:09
mlRe: Change the Language of just one Application Jean-Daniel Dupas May 24, 19:59
mlRe: Change the Language of just one Application Kyle Sluder May 26, 03:47