Hello,
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.
I am using Wine 20030115. Is this a known issue?
Regards
JG
"J. Grant" jg-lists@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.
J. Grant wrote:
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.
I am using Wine 20030115. Is this a known issue?
Yes and no. In Wine everything is selected at one place, and is the equivalent of the "system default locale". Be warned, btw, that some things don't work very well with input when using UTF-8.
Is it fixable? Probably. You need to get the concept of a user locale. Grab the system locale from LC_CTYPE and the user locale from LANG. Select resources based on the user locale. That would probably fix this issue. Havn't had the time (http://www.advogato.org/person/sun/#1) to actually go ahead and do it.
Regards
JG