Bug 1056181

Summary: Set the language (Login Screen)
Product: Red Hat Enterprise Linux 7 Reporter: Martin <mholec>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: bbarve, eng-i18n-bugs, lijli, lnykryn, mdomonko, mfabian, qe-i18n-bugs, riehecky, smaitra, systemd-maint-list, tpelka, vbenes
Target Milestone: rcKeywords: Desktop, i18n, Reopened
Target Release: 7.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: gdm-3.14.2-10.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 07:12:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1205796    

Description Martin 2014-01-21 16:18:06 UTC
Version-Release number of selected component (if applicable):
RHEL-7.0-20140109.n.0

Steps to Reproduce: 
Launch Region and Language (Settings -> Region and Language)

 1. Click on "Login Screen".
 2. Click on Language
 3. Select any language
 4. Log out.

Actual results: 
After logout, only "Password:" string is translated. I have to restart gdm.service to get translations of other strings like buttons in user list and menus at top of screen.

Expected results:
GDM interface should be in the language you specified.

Comment 1 Martin 2014-01-21 16:35:43 UTC
Another translation bug: Calendar in GDM stays in English when other language is chosen. Even after gdm.service restart. More precisely, date in full format e.g. "Tuesday Feb 21, 2014" and "February" strings.

Only working exception are translated names for days of the week.

Next GDM calendar issue: Week is starting with Sunday, even when in chosen language (and associated region) week starts with Monday, e.g. Czech.

Comment 2 Ray Strode [halfline] 2014-01-31 16:46:24 UTC
I think what i'd like is for this patch to land in pam_systemd:

http://lists.freedesktop.org/archives/systemd-devel/2013-January/007908.html

so the language is updated in the greeter for "free" when the pam session gets opened in preparation for starting the greeter.

reassinging to systemd, but you guys feel strongly against it, then i can bodge something up in GDM.

Comment 3 Ray Strode [halfline] 2014-02-12 15:33:09 UTC
*** Bug 1040616 has been marked as a duplicate of this bug. ***

Comment 4 Lukáš Nykrýn 2014-02-27 14:45:48 UTC
This would be nice to fix in systemd, but there is still no upstream solution and we will not make it till 7.0.

Comment 6 Lennart Poettering 2014-07-01 14:16:19 UTC
(In reply to Ray Strode [halfline] from comment #2)
> I think what i'd like is for this patch to land in pam_systemd:
> 
> http://lists.freedesktop.org/archives/systemd-devel/2013-January/007908.html
> 
> so the language is updated in the greeter for "free" when the pam session
> gets opened in preparation for starting the greeter.
> 
> reassinging to systemd, but you guys feel strongly against it, then i can
> bodge something up in GDM.

Sorry, but we can't use Tom's patch. This data cannot be stored in the home directory if gdm shall be able to access it, since the home directory might only be unlocked/mounted when the user logs in.

accounts-daemon stores this meta information in /var, which is a possible approach.  sssd might have soemthing too, but I think for now this needs to be figured out between gdm and accounts-daemon. Assigning back.

Comment 7 Ray Strode [halfline] 2014-07-02 13:27:37 UTC
well, i don't really care about the part that checks the home directory.  Anyway, not a big deal, i'll just had some code to gdm.

Comment 11 errata-xmlrpc 2015-11-19 07:12:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2216.html