• 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: Localized.strings is being ignored
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localized.strings is being ignored


  • Subject: Re: Localized.strings is being ignored
  • From: Dave DeLong <email@hidden>
  • Date: Tue, 12 Apr 2011 08:39:08 -0700

I'm pretty sure the file should be called "Localizable.strings", not "Localized.strings".

Dave

Sent from my iPhone

On Apr 12, 2011, at 8:23 AM, Michael Crawford <email@hidden> wrote:

> I'm trying to localize an app that I have currently selling on the Mac app-store.  I have taken the following steps:
>
> 1. Renamed my existing localization directory from "English.lproj" to "en.lproj"
> 2. Updated the existing localization settings for my main nib file from English to en
> 3. Created a new file named Localized.strings in UTF-16 format
> 4. Added Localized.strings to en.lproj directory
> 5. Added Localized.strings to project file
> 6. Populated Localized.strings file with typical key-value pairs for english
> 7. Created my own macro for calling localizedStringForKey because I didn't want more than a single argument
> #define MCLocStr(key) [[NSBundle mainBundle] localizedStringForKey:(key) value:@"" table:nil]
> 8. Changed the value for the "Localization native development region" key from "English" to "en" in my info.plist file
>
> I think that is it.  When I run, substitutions just are not happening.  Here is an example.
>
> http://dl.dropbox.com/u/4920112/Screenshots/2.PNG
>
> What minute obscure little detail have I left out or forgotten?
>
> -Michael
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Localized.strings is being ignored (From: Michael Crawford <email@hidden>)

  • Prev by Date: Localized.strings is being ignored
  • Next by Date: Re: file done writing?
  • Previous by thread: Localized.strings is being ignored
  • Next by thread: Re: Localized.strings is being ignored
  • Index(es):
    • Date
    • Thread