Re: locale of embedded frameworks
Re: locale of embedded frameworks
- Subject: Re: locale of embedded frameworks
- From: Torsten Curdt <email@hidden>
- Date: Fri, 8 Aug 2008 00:13:34 +0200
On Aug 7, 2008, at 23:59, Douglas Davidson wrote:
On Aug 7, 2008, at 2:55 PM, Torsten Curdt wrote:
More details about the problem. For example, what the code looks
like in your framework at the point at which the localized strings
are being retrieved,
Just NSLocalizedString(@"text", nil)
There's your problem. That obtains localized strings from the main
bundle--that is, your app bundle, not the framework bundle. You
want NSLocalizedStringFromTableInBundle() with the appropriate
bundle, obtained via bundleForClass: or bundleWithIdentifier:.
Aaaah ....I see.
Thanks, Douglas!
cheers
--
Torsten
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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