Re: Localizable.strings not being read...
Re: Localizable.strings not being read...
- Subject: Re: Localizable.strings not being read...
- From: Uli Kusterer <email@hidden>
- Date: Thu, 3 Feb 2011 19:40:38 +0100
On 03.02.2011, at 19:33, Mr. Gecko wrote:
> Hello, I'm having a problem where NSLocalizableString isn't working in one of my projects but it is working perfectly fine in a test project made just to verify it is the project. I copied the same strings from one project to the other and it all works... Has anyone experienced this problem? If so, have you found a fix? This project is complete and I don't really want to build the project file to get it working. Could it be a problem in info.plist?
What kind of project is it? Application? Loadable bundle? Strings are looked up from the main bundle by default, which is the application, not the loaded bundle. That's a common issue that trips people up. You may have to explicitly specify the bundle (e.g. using bundleForClass:).
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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