Bug 40510

Summary: localed should propagate `LANGUAGE` variable as well
Product: systemd Reporter: Gioele Barabucci <gioele>
Component: generalAssignee: Lennart Poettering <lennart>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Gioele Barabucci 2011-08-31 02:48:45 UTC
Currently localed knows about the `LC_*` variables and the `LANG` variable but ignores `LANGUAGE`.

LSB 4.0 describes the `LANGUAGE` variable: it is used, at least by GTK-based applications, to choose the language of the displayed messages.

In my case, my `.profile` file sets

    LANG=it_IT.utf8
    LANGUAGE=en_US:en

because I prefer having an English interface but with European defaults (A4 paper, EUR as currency, Monday as first day of the week, etc.).

The `LANGUAGE` variable is also set by the GNOME's language switching utility.
Comment 1 Lennart Poettering 2011-08-31 05:07:20 UTC
Hmm, what you are trying to do you can do without $LANGUAGE:

LANG=it_IT.utf8
LC_MESSAGES=en_US
Comment 2 Lennart Poettering 2011-08-31 05:11:51 UTC
The GNOME i18n setup tool does not set $LANGUAGE.
Comment 3 Lennart Poettering 2011-08-31 05:12:36 UTC
Nonetheless if I have now update systemd to set support $LANGUAGE is well, even though I presume it's not going to be used by much.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.