After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 730478 - Changing language from user panel does nothing
Changing language from user panel does nothing
Product: gdm
Classification: Core
Component: general
Other Linux
: Normal major
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Reported: 2014-05-20 23:38 UTC by Michael Catanzaro
Modified: 2014-09-02 19:10 UTC
See Also:
GNOME target: 3.14
GNOME version: ---

session: override LANG with user configured language (4.14 KB, patch)
2014-08-27 13:52 UTC, Ray Strode [halfline]
committed Details | Review

Description Michael Catanzaro 2014-05-20 23:38:08 UTC
When I change my language in the users panel, nothing happens. Well, the newly-selected language is written to my user file in /var/lib/AccountsService/users/, and if I visit the Region & Language panel I see the newly-selected language there.  But that's a lie -- even after logging out and log back in, the previous language is still used.

Changing my language from the Region & Language panel works fine. I think the difference is that I am in wheel, so the Region & Language panel is actually changing the system locale rather than my user-specific selection.

I'm using the GNOME 3.12 copr on Fedora 20.
Comment 1 Ondrej Holy 2014-05-29 14:21:59 UTC
Changing language from the Region & Language panel doesn't work either when  there is multiple users. Language is correct in /var/lib/AccountsService/users/username, however environment variable LANG is wrong. Looks like problem in GDM.
Comment 2 Ray Strode [halfline] 2014-05-29 14:34:31 UTC
i think this was caused by the fix for bug 709105
Comment 3 Ray Strode [halfline] 2014-08-27 13:46:46 UTC
So the issue here, I guess, is, accountsservice only tracks LANG, it doesn't have the various LC_ things. So we need to pass those through from the system, and then, I guess, override LANG with what's stored from accountsserivce.
Comment 4 Ray Strode [halfline] 2014-08-27 13:52:50 UTC
Created attachment 284603 [details] [review]
session: override LANG with user configured language

We need to set LANG based on whats in accountsservice, for the
language configuration in control-center to work.

This commit partially reverts commit

Comment 5 Ray Strode [halfline] 2014-08-27 13:53:06 UTC
I still need to test this.
Comment 6 Ray Strode [halfline] 2014-09-02 19:10:15 UTC
Attachment 284603 [details] pushed as db94ed3 - session: override LANG with user configured language