Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLocalizedStringFromTable




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSLocalizedStringFromTable (From: Philip Bridson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.