• 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: NSLocalizedStringFromTable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLocalizedStringFromTable


  • Subject: Re: NSLocalizedStringFromTable
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 28 Feb 2008 15:39:26 -0800


On Feb 28, 2008, at 3:32 PM, Philip Bridson wrote:

Just a short question. I'm working with localizations and I get the whole concept of strings files etc but do I have to create a file with english values in it?

For instance my french one is:

"Yes" = "Oui"

But do I have to create a english one with:

"Yes" = "Yes"

or will cocoa automatically substitute an english string if it can't find a localized one?

The keys are not necessarily English-language strings; that is a common practice, but actually they can be any convenient values. The localized string APIs typically do return the key when no localized string is found, but it's still best to include a strings file for each localization.


Douglas Davidson

_______________________________________________

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


  • Follow-Ups:
    • Re: NSLocalizedStringFromTable
      • From: Philip Bridson <email@hidden>
References: 
 >NSLocalizedStringFromTable (From: Philip Bridson <email@hidden>)

  • Prev by Date: NSLocalizedStringFromTable
  • Next by Date: Re: NSLocalizedStringFromTable
  • Previous by thread: NSLocalizedStringFromTable
  • Next by thread: Re: NSLocalizedStringFromTable
  • Index(es):
    • Date
    • Thread