Bug 631861 - kdm is not localized when changing lang using system-config-language
Summary: kdm is not localized when changing lang using system-config-language
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase-workspace
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F15Target
TreeView+ depends on / blocked
 
Reported: 2010-09-08 14:41 UTC by Corentin Perard-Gayot
Modified: 2016-12-01 00:36 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-10-20 13:35:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 164311 0 None None None Never
Launchpad 298592 0 None None None Never

Description Corentin Perard-Gayot 2010-09-08 14:41:25 UTC
Description of problem:

When switching language using system-config-language, kdm is not set in my language.
The only way to make kdm speak french is to use systemsettings -> login screen and change lang, but this is overridden by kdm updates (except sometimes it creates a /etc/kde/kdm/kdmrc.rpmnew file because it has been modified)

Version-Release number of selected component (if applicable):
kdm-4.5.1-2.fc14.x86_64, but i've seen it since F12

How reproducible:
always

Steps to Reproduce:
1.install fedora in whichever language you want.
2.Try switching language with system-config-language.
3.logout or reboot and notice kdm is not in the language you chose, but the default one, which is en_US
  

Expected results:
kdm should be in the localized language, as gdm does

Additional info:

/etc/kde/kdm/kdmrc :

# Language and locale to use in the greeter, encoded like $LC_LANG.
# Default is "en_US"
#Language=de_DE

Comment 1 Corentin Perard-Gayot 2010-09-08 14:45:58 UTC
opensuse and kubuntu seem to have resolved it :

https://bugs.launchpad.net/kdebase/+bug/298592 contains useful info.

Comment 2 Rex Dieter 2010-09-08 15:53:55 UTC
Thanks, tentatively marking EasyFix (and kde-4.5 blocker, esp since it's easy)

Comment 3 Corentin Perard-Gayot 2010-09-09 15:57:50 UTC
Okay thanks. I forgot to mention that kdm should IMHO be in the system language since the start, not only a problem of system-config-language, even if this is a problem too not to have the utility change the language of the login screen. (just to make sure this was taken into account)

Comment 4 Rex Dieter 2010-09-20 16:19:46 UTC
I'm looking at ^^ and our kdebase-workspace startkde patch, and wondering why it tries to parse /etc/default/locale and /etc/environment, but not /etc/sysconfig/i18n ?

Comment 5 Kevin Kofler 2010-09-20 16:33:50 UTC
Because Ubuntu doesn't use /etc/sysconfig/i18n. (Hooray for gratuitous differences between distros.)

Comment 6 Rex Dieter 2010-09-20 17:05:49 UTC
Meh, I'm going to modify it to look for /etc/sysconfig/ii18n first , holler if you think this is a bad idea.

Comment 7 Rex Dieter 2010-10-03 03:57:00 UTC
* Mon Sep 20 2010 Rex Dieter <rdieter> - 4.5.1-4
- kdm is not localized when changing lang using system-config-language (#631861)

Comment 8 Corentin Perard-Gayot 2010-10-20 15:23:26 UTC
Hello, a little ping on this one. thanks for taking care of this bug. But I'm running F14 right now and this doesn't seem to be fixed. Will the patch make it on time for F14 gold or is it postponed to F15 ? if so, is there a chance it could be back-ported ?

Comment 9 Rex Dieter 2010-10-20 15:44:02 UTC
The patch is included in F14's builds.

What's the contents of your
/etc/sysconfig/i18n
?

Comment 10 Corentin Perard-Gayot 2010-10-20 16:14:25 UTC
Thanks for your reactivity

[root@corentin-ideapad ~]# cat /etc/sysconfig/i18n 
LANG="fr_FR.UTF-8"
SYSFONT="latarcyrheb-sun16"

and kdm still doesn't show up in my language

kdebase-workspace-4.5.2-3.fc14.x86_64
kde-settings-kdm-4.5-9.fc14.noarch
kdm-4.5.2-3.fc14.x86_64

content of /etc/kde/kdm/kdmrc seems unchanged :

# Language and locale to use in the greeter, encoded like $LC_LANG.
# Default is "en_US"
#Language=de_DE

Comment 11 Rex Dieter 2010-10-20 16:19:36 UTC
And... you have kde-l10n-French installed ?

Comment 12 Rex Dieter 2010-10-20 16:23:04 UTC
Oh, my bad.  It's fairly obvious the patch I used is insufficient to help kdm.  Needs more work.

Comment 13 Corentin Perard-Gayot 2010-10-20 16:26:24 UTC
yes, kde-l10n-French is installed.

Comment 14 Kevin Kofler 2010-11-03 00:37:59 UTC
I'm taking this off the 4.5 tracker as it's not a blocker, just something nice to have, which we'll include in a KDE update as soon as we have it working.

Comment 15 Corentin Perard-Gayot 2010-11-27 18:13:50 UTC
ping : do you need help ? I would be happy to provide the needed info.

Comment 16 Corentin Perard-Gayot 2010-12-13 03:38:17 UTC
here is some additional nice-to-have info. really hope this will help as it would add "QA mojo" to our beloved distro to solve this bug :

https://bugs.launchpad.net/kdebase/+bug/298592/comments/7

thanks again for your time

Comment 17 Rex Dieter 2010-12-13 04:19:47 UTC
Thanks, but Fedora's /etc/X11/prefdm (which launches kdm) already includes a similar snippet:

# We need to source this so that the login screens get translated
[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n

Comment 18 Rex Dieter 2010-12-13 04:20:56 UTC
rebasing (so the bug won't ever get auto-closed)


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