Re: locale of embedded frameworks
Re: locale of embedded frameworks
- Subject: Re: locale of embedded frameworks
- From: Douglas Davidson <email@hidden>
- Date: Thu, 7 Aug 2008 14:59:57 -0700
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:.
Douglas Davidson
_______________________________________________
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