Bug 40510 - localed should propagate `LANGUAGE` variable as well
Summary: localed should propagate `LANGUAGE` variable as well
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 02:48 UTC by Gioele Barabucci
Modified: 2011-08-31 05:12 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.