Re: How to get the native localization of zh_TW?
Re: How to get the native localization of zh_TW?
- Subject: Re: How to get the native localization of zh_TW?
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 13 Nov 2003 18:52:22 +0100
Hum, what I would like to get is the localized name of the language
associate to "zh_TW".
For instance,
English -> en -> English
German -> de -> Deutsch
zh_TW -> zh_TW ->
hum... as I'm typing this, I'm discovering that there's a value for
this in Language.strings.
There must be a bug in the code I wrote to localize the English name to
the localized name (I'm using both EnglishToISO.strings and
Language.strings to do this).
Maybe CFLocaleCreateCanonicalLocaleIdentifierFromString is doing this
and would spare some locs but I need 10.1-10.2 compatibility.
On Thursday, November 13, 2003, at 06:31 PM, mmalcolm crawford wrote:
On Nov 13, 2003, at 6:44 AM, Stiphane Sudre wrote:
Let's say I have the NSString: @"zh_TW".
Does someone know how to get the native localization from it?
I'm not quite sure what you mean -- is CFLocale's
CFLocaleCreateCanonicalLocaleIdentifierFromString what you're after?
<http://developer.apple.com/documentation/CoreFoundation/Reference/
CFLocaleRef/index.html>
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.