Forcing Application Bundle to run in a specific language?

Wednesday, October 12 2005 @ 04:47 AM UTC

Contributed by: ivan_tan

Any idea how to force an Application Bundle to run in a specific language (other than the OS's UI language), maybe though command line parameters, etc.?

The order of languages is stored in ~/Library/Preferences/.GlobalPreferences.plist, under the key AppleLanguages as an array of strings:

If you write a tool to change that default on the fly before launching the targeted application or if writing a Cocoa application before entering the NSApplicationMain you should be able to change the language for this particular application.