Bug 342380 - does not honor LC_MESSAGES
Summary: does not honor LC_MESSAGES
Status: RESOLVED NOT A BUG
Alias: None
Product: gcompris
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Bruno Coudoin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-31 19:11 UTC by Andreas Moog
Modified: 2015-03-04 23:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Moog 2014-12-31 19:11:20 UTC
(Bug forwarded from Launchpad, https://bugs.launchpad.net/bugs/1404947)

LC_ALL="" LANG=de_DE.UTF-8 LC_MESSAGES=C gcompris

that should run the standard english version of the program interface but in fact the German version is shown. Check "man 7 locale" for the hierarchy of locale-related environment variables.

This happens on Ubuntu as well on Debian, both with the packaged versions and freshly compiled sources.

Reproducible: Always

Steps to Reproduce:
1. Start with "LC_ALL="" LANG=de_DE.UTF-8 LC_MESSAGES=C gcompris"

Actual Results:  
Starts with german interface

Expected Results:  
Starts with english interface
Comment 1 Bruno Coudoin 2015-03-04 23:25:46 UTC
I just tested again and this is not a bug, it's a feature. When GCompris is set to the system locale it respects the LANG env variable. And BTW this is releated to the Gtk+ version, not the Qt one.