Re: Testing localizations in 10.6
Re: Testing localizations in 10.6
- Subject: Re: Testing localizations in 10.6
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sat, 29 Aug 2009 21:46:38 +0200
Le 29 août 2009 à 21:29, Dylan McNamee a écrit :
Way back before Snow Leopard, I was able to test a localization by
right-clicking on my application, and "un-checking" all of the
languages except for the one I wanted to test.
Today, however, I see that portion of the "Get Info" window is
missing. What do folks suggest for testing localization?
Just to make sure I wasn't running with a non-standard setup, I did
some Googling, and was comforted to see this post from a month ago,
describing exactly what I remember seeing under Leopard and before:
http://www.macfixit.com/article.php?story=20090702161741495
I'm launching it from Xcode passing the following as argument (change
'en' to the language you want to test):
-AppleLanguages ('en')
Note this it works for all Cocoa applications:
For example, try this in the terminal:
/Applications/TextEdit.app/Contents/MacOS/TextEdit -AppleLanguages
"('fr')"
_______________________________________________
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