Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSLocalizedStringFromTableInBundle not returning localized string



Hi

I have a few localized strings in my plugin that are fetched like this

NSLocalizedStringFromTableInBundle(@"Show Content", @"MenuStrings", pluginBundle, @"show content palette") :

I extracted the strings using genstrings from the terminal, and did the following:

1. Included the localized string files in their respective language folder in the project folder (English, French German etc...)
2. Added the string files to the project and made sure they appear in the "Copy Bundle Resources" build phase
3. Set the preferred language in System preferences panel
4. Logged out and back in


All I'm getting though are English strings regardless of preferred language setting. What am I missing?

Thanks for any help

Ken
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.