Re: localize framework
Re: localize framework
- Subject: Re: localize framework
- From: Douglas Davidson <email@hidden>
- Date: Mon, 15 Jan 2007 12:29:08 -0800
On Jan 15, 2007, at 12: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.
NSLocalizedString obtains localizations from the main bundle. You
need to specify the bundle, using NSLocalizedStringFromTableInBundle
or NSLocalizedStringWithDefaultValue. Obtain the framework's bundle
using +bundleForClass: or +bundleWithIdentifier:.
Douglas Davidson
_______________________________________________
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