Skip navigation.
 
mlRe: Localized country name from iso country code
FROM : mmalc crawford
DATE : Thu Nov 01 21:32:26 2007

On Nov 1, 2007, at 12:11 PM, Stéphane Sudre wrote:

> On jeudi, novembre 1, 2007, at 06:41  PM, mmalc crawford wrote:

>>
>> On Nov 1, 2007, at 5:59 AM, Stephane Sudre wrote:

>>>> is there an easy way to get a localized country name from an ISO 
>>>> country code (with or without NSLocale)?

>>>

>> Don't do this.
>> Use NSLocale -- displayNameForKey:value:
>>

> Well, if you're running on 10.4, sure. But if you're not?
>

Oh, I read "with or without NSLocale" as meaning "I don't mind if I 
use NSLocale or not"...

Prior to 10.4, I think you can battle your way through Locale 
Utilities <http://developer.apple.com/documentation/Carbon/Reference/Locale_Utilities/index.html
>.  It's not necessarily straightforward, though...

mmalc

Related mailsAuthorDate
mlLocalized country name from iso country code Ruotger Skupin Nov 1, 13:36
mlRe: Localized country name from iso country code Stephane Sudre Nov 1, 13:59
mlRe: Localized country name from iso country code mmalc crawford Nov 1, 18:41
mlRe: Localized country name from iso country code Stéphane Sudre Nov 1, 20:11
mlRe: Localized country name from iso country code mmalc crawford Nov 1, 21:32