• 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: How to make localizedStringForKey: work in a Foundation Tool?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make localizedStringForKey: work in a Foundation Tool?


  • Subject: Re: How to make localizedStringForKey: work in a Foundation Tool?
  • From: Uli Zappe <email@hidden>
  • Date: Mon, 15 Aug 2005 23:15:15 +0200

Am 15.08.2005 um 23:04 schrieb Douglas Davidson:
In other words, [bundle localizedStringForKey:<string>] first and foremost does *not* consider the languages available in bundle, but rather those of its own process. God knows if this is a bug or a feature. :-/
This is a feature. You are using the default localization mechanism, which is intended to give good default behavior. This particular behavior is intended to prevent applications from presenting a mixture of different localizations from different bundles.

I see - this makes sense.

To turn this off, add the key CFBundleAllowMixedLocalizations to your Info.plist, with the value "YES". [...]

Doug, thanks a lot for these explanations. This has been really helpful! :-)


            Bye
                    Uli
________________________________________________________

  Uli Zappe, Solmsstraße 5, D-65189 Wiesbaden, Germany
  http://www.ritual.org
  Fon: +49-700-ULIZAPPE
  Fax: +49-700-ZAPPEFAX
________________________________________________________

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to make localizedStringForKey: work in a Foundation Tool? (From: Uli Zappe <email@hidden>)
 >Re: How to make localizedStringForKey: work in a Foundation Tool? (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: How to make localizedStringForKey: work in a Foundation Tool?
  • Next by Date: Path/Breadcrumb view component
  • Previous by thread: Re: How to make localizedStringForKey: work in a Foundation Tool?
  • Next by thread: Core Data and multiple NIBs: how to share the managedObjectContext?
  • Index(es):
    • Date
    • Thread