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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to