Pierre d'Herbemont <[EMAIL PROTECTED]> writes:
> I do remember now :) setlocale don't handle properly two letters
> language code like 'es' it expect a full locale name like 'es_ES' .
> And using the CFLocale API to obtain the full local from 'es' does
> not seem possible.
parse_locale_name() can
On Dec 11, 2006, at 5:49 PM, Pierre d'Herbemont wrote:
On 12 déc. 06, at 00:20, Pierre d'Herbemont wrote:
+}
+closedir(dir);
I think the above code to scan /usr/share/locale is unnecessary.
Doesn't CFLocaleCopyAvailableLocaleIdentifiers provide the
equivalent?
You're quite
On 12 déc. 06, at 00:20, Pierre d'Herbemont wrote:
+}
+closedir(dir);
I think the above code to scan /usr/share/locale is unnecessary.
Doesn't CFLocaleCopyAvailableLocaleIdentifiers provide the
equivalent?
You're quite right. I though setlocale didn't handle 'en' properly
e
On 11 déc. 06, at 22:42, Ken Thomases wrote:
On Dec 11, 2006, at 1:46 PM, Pierre d'Herbemont wrote:
+/* This filters the 'right' locales (xx_xx.UTF-8) */
+if (strstr(file->d_name, ".UTF-8"))
+CFArrayAppendValue(available_locales, (void*)
CFStringCreateWithCString(k
On Dec 11, 2006, at 1:46 PM, Pierre d'Herbemont wrote:
This patch allows Mac OS X Users that set in System Preferences.app
a language (say English) and that don't use the default number and
text formatting currently associated with this language (for
instance if they use French number and t