/etc/gdm/Xsession breaks LANGUAGE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
Low
|
Unassigned | ||
gdm |
Fix Released
|
Medium
|
|||
gdm (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt | ||
Karmic |
Won't Fix
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
Binary package hint: gdm
/etc/gdm/Xsession contains:
if [ -n "$LANGUAGE" ]; then
if [ "$LANGUAGE" != "$LANG" ]; then
LANGUAGE=
fi
LANGUAGE is not only an extension of LC_MESSAGES (not LANG), it doesn’t even have the same syntax as LANG.
My locale settings (whom /etc/gdm/Xsession breaks):
LANG=fi_FI.UTF-8
LC_MESSAGES=
LC_NUMERIC=
LANGUAGE=en_US:en
I.e. “use fi for stuff like month names, paper size and units, but en for the UI strings and decimal numbers”.
ProblemType: Bug
Architecture: i386
Date: Fri Jul 31 13:20:09 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: gdm 2.27.4-0ubuntu6
ProcVersionSign
SourcePackage: gdm
Uname: Linux 2.6.31-
Related branches
Changed in gdm (Ubuntu): | |
assignee: | nobody → Ubuntu Desktop Bugs (desktop-bugs) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in gdm (Ubuntu): | |
milestone: | none → ubuntu-9.10 |
Changed in gdm (Ubuntu Karmic): | |
milestone: | ubuntu-9.10 → none |
Changed in ubuntu-translations: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in gdm: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in gdm (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in gdm (Ubuntu Karmic): | |
status: | Confirmed → Triaged |
Changed in gdm (Ubuntu): | |
assignee: | Ubuntu Desktop Bugs (desktop-bugs) → Canonical Desktop Team (canonical-desktop-team) |
Changed in gdm (Ubuntu Lucid): | |
assignee: | Canonical Desktop Team (canonical-desktop-team) → Martin Pitt (pitti) |
Changed in gdm: | |
status: | Unknown → New |
Changed in gdm: | |
status: | New → Fix Released |
Changed in gdm (Ubuntu Karmic): | |
assignee: | Ubuntu Desktop Bugs (desktop-bugs) → nobody |
Changed in gdm: | |
importance: | Unknown → Medium |
I'm not sure to understand the logic behind this code, the upstream change seems to be due to https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 89970, not sure if LANGUAGE should be unset or forced to some value, if the value is not set by gdm the session might be using a different language than the one selected on the login screen