language selection not preserved accross upgrades (need some .dmrc migration code)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightdm (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
After a natty->oneiric upgrade and the switch from gdm to lightdm the language settings on login are not remembered.
The user account in question had "german" as the default language, the .dmrc settings are:
"""
[Desktop]
Language=de
Session=ubuntu
"""
However when I log into the system I get english locales and shows that LANGUAGE is not set.
What makes this bug worse is that the language can no longer be set in the greeter. This means that a user
who does not speak english is lost. Finding language-selector and use the drag-n-drop (with a explaination how
it works in english and a non-intutive UI) is difficult.
The system itself is a english default and english install, its just this particular user that requires a german
environment.
I did reproduce this bug in a stock natty->oneiric upgrade, to reproduce, set userlanguage in gdm to "german", login,
upgrade, login again -> english desktop.
Changed in lightdm (Ubuntu): | |
status: | Confirmed → Triaged |
Hi Michael,
I can confirm your description. ~/.dmrc is the principal place for storing language settings in 11.04. ~/.profile is used as well, but ~/.profile is only updated if language-selector is used to change language.
In 11.10 ~/.profile is the principal storing place, and possible language related values in ~/.dmrc are ignored. If the last change of the user language in 11.04 is made from the GDM greeter, which it is in the case you describe, that change will need to be redone after an upgrade to 11.10.
If it's considered important enough, code might be added that compares ~/.dmrc and ~/.profile at a distro upgrade, and modifies ~/.profile if needed.
It may be worth mentioning that in 11.10 a helpful admin can change the language settings for any user from System Settings -> User Accounts.