[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSLocale
From: |
Stef Bidi |
Subject: |
Re: NSLocale |
Date: |
Fri, 25 Jun 2010 12:20:36 -0500 |
On Fri, Jun 25, 2010 at 5:45 AM, Richard Frith-Macdonald
<address@hidden> wrote:
Thanks ... I've added that, documented the API, and added configure stuff to check for ICU version 4 or greater (since your code seems to need that version).
I haven't actually built/used the code though ... none of the systems I have access to has ICU version 4 (they all come with version 3.?) ... so I guess this code is mostly for people who are able/willing to build/install a recent ICU from source rather than using the package from their distribution?
I just followed the API available from
icu-project.org. I'll take a look at it again and see what it looks like for v3. If it's trivial, I'll go ahead and add it.
I did notice, the opposite of what's provided in Language/Locale.aliases canonical*IdentifierFromString: will be needed. For the Language variant, a new file, possibly named Languague.aliases, will be required. As for the Locale variant, I'm not sure if there's a way to use what's already provided by -base.
I've also been playing around with <locale.h>, but the output of the functions there are completely different and will require a lot of mapping, back and forth.
Stef