• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: diable localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diable localization


  • Subject: Re: diable localization
  • From: Sean McBride <email@hidden>
  • Date: Thu, 07 Apr 2011 17:58:36 -0400
  • Organization: Rogue Research Inc.

On Wed, 6 Apr 2011 09:43:58 +0200, Felix Franz said:

>> 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

In Xcode, you can also pass -AppleLanguages as an argument to your
executable.  This lets you debug in any language, regardless of your
preferred languages in System Prefs.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

  • Follow-Ups:
    • Re: diable localization
      • From: Georg Seifert <email@hidden>
References: 
 >diable localization (From: Georg Seifert <email@hidden>)
 >Re: diable localization (From: Felix Franz <email@hidden>)

  • Prev by Date: Re: How To Increment CALayer Retain Count?
  • Next by Date: Re: Two Applications Sharing Same Core Data Database
  • Previous by thread: Re: diable localization
  • Next by thread: Re: diable localization
  • Index(es):
    • Date
    • Thread