Bug#253440: gok: Ignores the user's language preferences
Lionel Elie Mamane
Lionel Elie Mamane <lionel@mamane.lu>, 253440@bugs.debian.org
Wed, 2 Mar 2005 11:15:20 +0100
On Wed, Mar 02, 2005 at 10:40:17AM +0100, Loïc Minier wrote:
> On mer, jun 09, 2004, Lionel Elie Mamane wrote:
>> lionelm@harif:~$ locale
>> LANG=fr_LU@euro
>> LC_MESSAGES=POSIX
>> LC_ALL=
>> But gok still displays in French to me. It should use English.
> If you just pass the LC_MESSAGES environment on the command line,
No, that setting is made session-wide; all my programs (even those
launched through Gnome's "application" menu) speak English to me.
> only the gok _launcher_ will be affected
It seems not; setting LANG or LC_ALL on the command line changes its
behaviour; this suggests that gok does indeed inherit its environment
from its launcher.
> -- and it switches to english here if I use LC_MESSAGES=POSIX or
> -- LC_MESSAGES=C.
Behaviour now on my machine is that the gok's main window follows
LC_ALL / LANG, but the various pop-ups (correctly) follow LC_ALL /
LC_MESSAGES / LANG.
The main window is the one that has six buttons labelled "composer",
"window", "mouse", "activate", "GOK", "menus", "toolbar", "capture
IU". The pop-ups are those that say "GOK has enabled Sticky Keys,
which it requires", "you are using GOK in 'core pointer' mode",
"assistive technology support is not enabled".
> Please try setting the environment before running X
It is currently set at the very beginning of /etc/X11/gdm/Xsession,
hence setting the environment for my whole X session.
> or from GDM
GDM doesn't give me any UI to set LC_MESSAGES different from LANG.
--
Lionel