Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.