Incorrect locale selected

Dmitry Timoshkov dmitry at baikal.ru
Thu Feb 20 01:09:03 CST 2003


"J. Grant" <jg-lists at jguk.org> wrote:

> My locale is as follows:
> 
> LANG=en_GB.UTF-8
> LC_CTYPE=ja_JP.UTF-8
> LC_NUMERIC=en_GB.UTF-8
> LC_TIME=en_GB.UTF-8
> LC_COLLATE=en_GB.UTF-8
> LC_MONETARY=en_GB.UTF-8
> LC_MESSAGES=en_GB.UTF-8
> LC_PAPER="en_GB.UTF-8"
> LC_NAME="en_GB.UTF-8"
> LC_ADDRESS="en_GB.UTF-8"
> LC_TELEPHONE="en_GB.UTF-8"
> LC_MEASUREMENT="en_GB.UTF-8"
> LC_IDENTIFICATION="en_GB.UTF-8"
> LC_ALL=
> 
> Which means that my input method can be in japanese, but that all 
> programs are in
> english.  However, some programs (wine notepad and some installers etc) 
> have
> some of the text in Japanese.  Wine notepad has the "open file" dialog 
> in Japanese,
> but the menus are in english.

If the output above is produced by 'locale' command, then it's a known issue.
Wine uses environment variables (see dlls/kernel/locale.c,init_default_lcid())
to detect the current locale but they often are not set properly.

-- 
Dmitry.






More information about the wine-devel mailing list