Re: Localized country name from iso country code
Re: Localized country name from iso country code
- Subject: Re: Localized country name from iso country code
- From: mmalc crawford <email@hidden>
- Date: Thu, 1 Nov 2007 13:32:26 -0700
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
_______________________________________________
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