Bug#253440: gok: Ignores the user's language preferences

Loïc Minier Loïc Minier , 253440@bugs.debian.org
Fri, 4 Mar 2005 10:51:10 +0100


forwarded 253440 http://bugzilla.gnome.org/show_bug.cgi?id=169174
thanks

        Hi,

On Wed, Mar 02, 2005, Lionel Elie Mamane wrote:
> 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.

 You're right, I made a mistake considering gok's behavior.  I could
 even reproduce the problem, so I have no excuse, sorry.

 I spent some time researching this yesterday, and it seems gok has some
 special treatment for the "LC_MESSAGES" locale, which is not used for
 the text in the buttons of the main window, it seems gettext is used
 there, and I couldn't find why it's not respecting LC_MESSAGES.

 Since I could reproduce the problem, I forwarded it upstream, maybe
 they know if they forgot a setlocale() hack somewhere...

 You might want to subscribe to the upstream discussion at
 <http://bugzilla.gnome.org/show_bug.cgi?id=169174>.

   Thanks for your report,
-- 
Loïc Minier <lool@dooz.org>