kernel32: Allow the prefered language to be different from the prefered locale on Mac OS X by correctly setting LC_MESSAGES.

Alexandre Julliard julliard at
Tue Dec 12 03:28:28 CST 2006

Pierre d'Herbemont <pdherbemont at> 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 handle that format though, so you can use that
directly without going through setlocale. And if you really want
setlocale you can rebuild a Unix locale name from parse_locale_name()

Alexandre Julliard
julliard at

More information about the wine-devel mailing list