• 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
[RESOLVED] Localizable.strings not happening
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RESOLVED] Localizable.strings not happening


  • Subject: [RESOLVED] Localizable.strings not happening
  • From: Lance Drake <email@hidden>
  • Date: Fri, 19 Dec 2008 12:34:30 -0700

There is a Localizable.strings file in each of four localizations folders in my project.  Everything looks great in the Xcode project window.  The Localizable.strings files are UTF-16.  The actual call looks like this: 
NSString* result = [[NSBundle mainBundle] localizedStringForKey:key value:@"" table:nil];
I have tried the various MACRO flavors of the call but everything remains the same. 
It seems that the Localizable.strings file is not somehow being recognized by the app.

Hi Xcode List,

The problem with the Localizable.strings not 'working' boiled down to a malformed .strings file.  
 What was wrong?  The content of the file looked like this: 

"sMW_SoftwareTitle" = "Software";
"sMW_FirmwareTitle"
"sMW_StatusTitle" = "Status";

No clue to this fatal anomaly was represented anywhere I came across.
It would have been great if there was a complaint manifested somewhere.  
I'll write up my experience in a bug report.  

Thank you,

Lance Drake

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Age Old Question: How Do You Set __MyCompanyName__
  • Next by Date: Re: NSBox over NSImage wipes NSImage on MacOS 10.4
  • Previous by thread: Re: NSBox over NSImage wipes NSImage on MacOS 10.4
  • Next by thread: Re: [RESOLVED] Localizable.strings not happening
  • Index(es):
    • Date
    • Thread