On Apr 6, 2011, at 4:43 PM, Felix Franz wrote:

> 
> On Apr 5, 2011, at 3:55 PM, Georg Seifert wrote:
> 
>> Hi,
>> 
>> I what to give my users the possibility to disable the localization of my 
>> app. Is there a way to tell the system (NSBundle?) to always load the 
>> english nibs?
> 
> Just read http://homepage.mac.com/mmalc/Stepwise/Internationalization/ it 
> mentions the command line switch: 
> 
> $ /Applications/TextEdit.app/Contents/MacOS/TextEdit -AppleLanguages 
> "(Spanish)"
> 
> this is a normal default, so 
> 
> $ defaults write com.apple.TextEdit AppleLanguages "(Spanish)"
> 
> should work, or set the argument/default inside the main function before 
> calling NSApplicationMain
> 
> Grüße,
> 
> Felix
> 
Normally the defaults are empty for this and the app will load the first 
localized nib found in priority based on the System Preferences preferred 
language setting for the user account.
However, you can also specify a language in your plist and you can specify it 
in your app's code. 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to