Comment 7 for bug 298592

Revision history for this message
Cyril Buquet (cyril11) wrote :

Hello,

On an suggestion of FSW, i downloaded openSuse 11.1
After an installation (virtualbox), with KDE, i obtain the KDM screen ... in french.

After some test, i can see that the /etc/init.d/xdm script make an export of some language parameter.

For my first test, I have added into /etc/init.d/kdm on kubunt 9.04 alpha (virtualbox) one line :
export LANG="fr_FR.UTF-8"
(kdmrc have Language=fr)

After reboot, kdm is in french.

Next, i have tested on kubuntu 8.10, with kde 4.1.3 from ppa.
I have added the following line into the begin of /etc/init.d/kdm :
> # Need to export LANG for language into kdm
> var=$(grep "^LANG=" /etc/environment)
> eval $var
> unset var
> export LANG

Reboot, and it's work. kdmrc contain Language=fr.

Now, we know the origin of this bug.

May be people working on kubuntu 9.10 can see the openSuse xdm script for this part. The solution is more complete, and check the other LANG parameter.

Have a nice Day
Cyril Buquet