emacs-devel
[Top][All Lists]
Advanced

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

Re: National Language Support Functions


From: Lennart Borgman
Subject: Re: National Language Support Functions
Date: Fri, 22 Dec 2006 20:51:11 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

Eli Zaretskii wrote:
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.
Re-installing Windows or using their Multilingual package.

On my XP pc I found I can change LanID and LCID for USR above. I do that in the

   Control Panel
       Regional and Language Options
           Region Options tab
               Standards and formats

Everything there is about things like date, currence etc. There is nothing about spoken/written language there.

If we where to use the language for menus etc in Emacs I guess everyone would agree that we would use GetUserDefaultUILanguage, or? Is there any reason we should not do the same for the tutorial?




reply via email to

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