[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: National Language Support Functions

From: Jason Rumney
Subject: Re: National Language Support Functions
Date: Fri, 22 Dec 2006 12:57:02 +0000
User-agent: Thunderbird (Windows/20061207)

Jason Rumney wrote:
This is on the UK English version of Windows XP

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]