Re: How to make localizedStringForKey: work in a Foundation Tool?
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