• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSLocalizedStringFromTableInBundle not returning localized string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSLocalizedStringFromTableInBundle not returning localized string


  • Subject: NSLocalizedStringFromTableInBundle not returning localized string
  • From: Ken Tozier <email@hidden>
  • Date: Sat, 26 May 2007 17:30:16 -0400

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSLocalizedStringFromTableInBundle not returning localized string
      • From: Ken Tozier <email@hidden>
  • Prev by Date: Can't customize toolbar in category
  • Next by Date: Re: EXC_BAD_ACCESS in NSTableView adding object when visible
  • Previous by thread: Re: Can't customize toolbar in category
  • Next by thread: Re: NSLocalizedStringFromTableInBundle not returning localized string
  • Index(es):
    • Date
    • Thread