Bug 14606 - sddm does not use system locale to display translated interface
Summary: sddm does not use system locale to display translated interface
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-19 13:28 CET by Jüri Ivask
Modified: 2014-11-20 18:53 CET (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Jüri Ivask 2014-11-19 13:28:53 CET
Description of problem: Language entry in /etc/environment is missing for sddm to display translated interface


Steps to Reproduce:
1. Install sddm
2. Select it as DM in MCC
3. Restart prefdm service
4. sddm in in english although the translation exists
5. Insert language entry in /etc/environment file (in my case LANG=et_EE.UTF-8)
6. Restart prefdm service
7. sddm displays translated interface (in my case estonian)


Reproducible: 

Steps to Reproduce:
David Walser 2014-11-19 22:25:18 CET

CC: (none) => doktor5000, jani.valimaa
Assignee: bugsquad => mageia

Comment 1 Florian Hubold 2014-11-19 23:24:55 CET
Reproduced here, although we cannot add that entry for sddm for the current locale, this would need some discussion and changes in e.g. localedrake. Sounds more like a bug of sddm to me, actually this one: https://github.com/sddm/sddm/issues/261

Will add this fix:
https://github.com/sddm/sddm/commit/84b23196e1ab68e8a10e7f156914fe741e7d8a30 from https://github.com/sddm/sddm/pull/312


Will also add a fix to the pam config for sddm to make logout possible again ...

Status: NEW => ASSIGNED
Hardware: i586 => All
Assignee: mageia => doktor5000
Summary: Language entry in /etc/environment is missing for sddm to display translated interface => sddm does not use system locale to display translated interface

Comment 2 Florian Hubold 2014-11-20 00:20:51 CET
sddm-0.10.0-4.mga5 should fix this issue. Be aware that you still need LANG set in /etc/locale.conf as this is where systemd reads and uses it in early boot. I've created https://bugs.mageia.org/show_bug.cgi?id=14613 for that issue.

On a related note, logout from desktop to sddm now also works again :)

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED

Comment 3 Jüri Ivask 2014-11-20 13:12:49 CET
As a side note - logout has always worked for me, but that could be because I had only plasma5 install upon minimal install with X

But now after the sddm0.10.0-4.mga5 upgrade an additional user (System User fo...) appeared into the sddm login screen - should I open a new bug report about that?
Comment 4 Florian Hubold 2014-11-20 18:53:50 CET
(In reply to Jüri Ivask from comment #3)
> As a side note - logout has always worked for me, but that could be because
> I had only plasma5 install upon minimal install with X

Initally logout also worked for me, but after adding more desktops which also seem to pull in gnome-keyring logout was not possible anymore - now it is again, that was an upstream fix from Fedora.

> But now after the sddm0.10.0-4.mga5 upgrade an additional user (System User
> fo...) appeared into the sddm login screen - should I open a new bug report
> about that?

No, please just add a comment to https://bugs.mageia.org/show_bug.cgi?id=11401 and show me the /etc/passwd entry of that user - I'd need to know the shell to hide it.

And please also the output of ls -al /etc/sddm.conf* - this may be a possible drawback of %config (noreplace) :/

Note You need to log in before you can comment on or make changes to this bug.