Bug 342380

Summary: does not honor LC_MESSAGES
Product: [Applications] gcompris Reporter: Andreas Moog <andreas.moog>
Component: generalAssignee: Bruno Coudoin <bruno.coudoin>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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.