Bug 1106221 - "locale" might want to list "LANGUAGE" var as well
Summary: "locale" might want to list "LANGUAGE" var as well
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-28 10:58 UTC by Friedrich W. H. Kossebau
Modified: 2018-10-08 10:49 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich W. H. Kossebau 2018-08-28 10:58:45 UTC
When trying to understand the current configuration when it comes to localization, calling "locale" in a shell gives a clue.

But that listing misses an important env var, which is used by GNU gettext on loading the translations, and which overrules any LC_* settings: "LANGUAGE".

Lean more about LANGUAGE here:
https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable

So while "LANGUAGE" is a GNU gettext extension, it still is an important variable related to localization on openSUSE, so it might make sense to extend "locale" to also include that var into its list. Saves a manual step and also makes people aware of that additional variable.

Seems the locale of Ubuntu 17.10 does that already.
Comment 1 Andreas Schwab 2018-10-08 10:49:01 UTC
Please ask the debian maintainer to upstream the patch.