Re: localize framework
Re: localize framework
- Subject: Re: localize framework
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 15 Jan 2007 13:29:40 -0700
On Jan 15, 2007, at 1:21 PM, Tore Halset wrote:
I am creating a framework and are trying to localize it. I use
NSLocalizedString and have localized "Localizable.strings", but
applications using the framework does not display the localized
text. Strings localized in the application does work.
Anything special about localizing frameworks that I should know about?
NSLocalizedString() scans the main bundle, not the framework's
bundle. To use localized strings located in a bundle (such as a
framework), you need to use NSLocalizedStringFromTableInBundle()
instead.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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