[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: National Language Support Functions
From: |
Eli Zaretskii |
Subject: |
Re: National Language Support Functions |
Date: |
Fri, 22 Dec 2006 17:43:42 +0200 |
> Date: Fri, 22 Dec 2006 12:57:02 +0000
> From: Jason Rumney <address@hidden>
> Cc: Eli Zaretskii <address@hidden>, address@hidden,
> address@hidden
> >
> > LangID = SYS: 0x809, USR: 0x809 [en_GB]
> > LCID = SYS: 0x809, USR: 0x809 [en_GB]
> > GetUserDefaultUILanguage() = 0409 [en]
> > GetSystemDefaultUILanguage = 0409 [en]
> Actually, the [en], which came from
> http://www.microsoft.com/globaldev/reference/win2k/setup/Langid.mspx is
> incorrect.
>
> These values are actually [en_US]. Nothing in my OS settings specifies
> US English. So these values are just plain wrong.
>
> It appears that these last two API functions report the localization
> package used by the Windows UI itself, which is distinct from the user's
> preferences for language settings they make in the control panel.
Yep, looks like that. I guess those values are set when you answer
the question you are asked during Windows installation: whether you
want the Windows menus and dialogs in English or in your locale's
language. If I'm right, these values can be changed only by
re-installing Windows.