• 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
Re: NSLocalizedStringFromTableInBundle not returning localized string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLocalizedStringFromTableInBundle not returning localized string


  • Subject: Re: NSLocalizedStringFromTableInBundle not returning localized string
  • From: Ken Tozier <email@hidden>
  • Date: Sat, 26 May 2007 19:22:43 -0400

Got it working for English and French but it fails on Japanese. Does the "genstrings" tool not format .strings files correctly for Japanese?


On May 26, 2007, at 5:30 PM, Ken Tozier wrote:

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:
40comcast.net


This email sent to email@hidden

_______________________________________________

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


References: 
 >NSLocalizedStringFromTableInBundle not returning localized string (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: EXC_BAD_ACCESS in NSTableView adding object when visible
  • Next by Date: Re: WebView using generated HTML string with Images
  • Previous by thread: NSLocalizedStringFromTableInBundle not returning localized string
  • Next by thread: Re: WebView using generated HTML string with Images
  • Index(es):
    • Date
    • Thread