Re: Localized resources not loading from external frameworks
Re: Localized resources not loading from external frameworks
- Subject: Re: Localized resources not loading from external frameworks
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 14 Jan 2009 23:56:26 -0700
On Jan 13, 2009, at 6:03 PM, Samir Patel wrote:
All the files are in the right locations, but when I run my app
which is linked against the framework, the English version of my UI
from the framework always loads no matter what language I have set
in System Preferences.
Any ideas how to get the localized resources to load?
Which macro are you using? You must use
NSLocalizedStringFromTableInBundle() within non-app bundles and
frameworks, and the NSBundle passed in must point to the bundle
holding the localized strings.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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