• 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: How to get the native localization of zh_TW?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: How to get the native localization of zh_TW?
      • From: Florent Pillet <email@hidden>
References: 
 >Re: How to get the native localization of zh_TW? (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: How to get the native localization of zh_TW?
  • Next by Date: Re: Extending NSURLProtocol
  • Previous by thread: Re: How to get the native localization of zh_TW?
  • Next by thread: Re: How to get the native localization of zh_TW?
  • Index(es):
    • Date
    • Thread