You are not logged in.

#1 2013-11-17 14:40:18

Senseoflife
Member
Registered: 2009-02-19
Posts: 25

[SOLVED] Impossible to set different localization in Kde

Hi,
as I said in the subject, I'm trying to set the Italian localization in Kde. In the control center everything seems fine (Italian set as unique preferred language) but everything in Kde is still in English.
Whatever I do Kde still remains in English. Another issue (related?) is the keyboard layout, because it's always in English and everytime I login I have to do 'setxkbmap -layout it'.
Virtual consoles are using instead the Italian layout. Is it a Xorg related problem?
Any ideas?

Last edited by Senseoflife (2013-12-02 17:02:09)

Offline

#2 2013-11-17 16:14:47

googol-1
Member
Registered: 2012-10-21
Posts: 22

Re: [SOLVED] Impossible to set different localization in Kde

Is kde-l10n-it installed?

What is the result of

cat /etc/vconsole.conf

Offline

#3 2013-11-17 16:45:52

Senseoflife
Member
Registered: 2009-02-19
Posts: 25

Re: [SOLVED] Impossible to set different localization in Kde

Yes, kde-l10n-it is installed and therefore I can select Italian as preferred language in the control center.

This is 'cat /etc/vconsole.conf':

cat /etc/vconsole.conf
KEYMAP=it

This is a portion of 'cat /etc/locale.gen':

#hu_HU ISO-8859-2  
#hy_AM UTF-8  
#hy_AM.ARMSCII-8 ARMSCII-8  
#ia_FR UTF-8  
#id_ID.UTF-8 UTF-8  
#id_ID ISO-8859-1  
#ig_NG UTF-8  
#ik_CA UTF-8  
#is_IS.UTF-8 UTF-8  
#is_IS ISO-8859-1  
#it_CH.UTF-8 UTF-8  
#it_CH ISO-8859-1  
it_IT.UTF-8 UTF-8  
it_IT ISO-8859-1  
it_IT@euro ISO-8859-15  
#iu_CA UTF-8  
#iw_IL.UTF-8 UTF-8  
#iw_IL ISO-8859-8  
#ja_JP.EUC-JP EUC-JP  
#ja_JP.UTF-8 UTF-8  
#ka_GE.UTF-8 UTF-8  
#ka_GE GEORGIAN-PS  
#kk_KZ.UTF-8 UTF-8  
#kk_KZ PT154  
#kl_GL.UTF-8 UTF-8

Offline

#4 2013-11-23 11:31:22

Senseoflife
Member
Registered: 2009-02-19
Posts: 25

Re: [SOLVED] Impossible to set different localization in Kde

Little bump.. sorry, but a desktop like this is quite annoying sad

Offline

#5 2013-11-23 14:21:52

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: [SOLVED] Impossible to set different localization in Kde

Have you tried setting the locale before KDE starts ?

this might help : https://wiki.archlinux.org/index.php/Lo … ser_locale


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2013-11-24 09:58:34

Senseoflife
Member
Registered: 2009-02-19
Posts: 25

Re: [SOLVED] Impossible to set different localization in Kde

Lone_Wolf wrote:

Have you tried setting the locale before KDE starts ?

this might help : https://wiki.archlinux.org/index.php/Lo … ser_locale

Ok, i've tried setting the locale as explained in the wiki, but sadly it's useless sad
Any other idea?

P.s.: Is there an error in the wiki about the locale.sh? It's written utf8, not utf-8.

Last edited by Senseoflife (2013-11-24 10:00:35)

Offline

#7 2013-11-24 13:11:18

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: [SOLVED] Impossible to set different localization in Kde

The locale wiki page does appear to have some inconsistencies, man 5 locale.conf examples all have UTF-8 in it.
All entries in /etc/locale.gen also use UTF-8 , so it seems possible the wiki has an error.

Have you tried if it works with it_IT.UTF-8  (exactly the same as in /etc/.locale.gen) ?

I have never tried per user locale settings, but setting a system-wide locale (nl_NL.UTF-8 in my case) does work with KDE .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2013-11-24 18:04:25

Senseoflife
Member
Registered: 2009-02-19
Posts: 25

Re: [SOLVED] Impossible to set different localization in Kde

Lone_Wolf wrote:

The locale wiki page does appear to have some inconsistencies, man 5 locale.conf examples all have UTF-8 in it.
All entries in /etc/locale.gen also use UTF-8 , so it seems possible the wiki has an error.

Have you tried if it works with it_IT.UTF-8  (exactly the same as in /etc/.locale.gen) ?

I have never tried per user locale settings, but setting a system-wide locale (nl_NL.UTF-8 in my case) does work with KDE .

Thank you so much! I've tried with UTF-8 and now it works! Kde is in Italian now.
However, there's still something wrong: every console in Xorg still use English layout (En or Us, I don't know). The only way seems to set the It layout with 'setxkbmap -layout it'. It's not a big deal, however there's maybe something wrong in my configuration and.. why don't solve it if I can?

Last edited by Senseoflife (2013-11-24 18:04:59)

Offline

#9 2013-11-25 11:35:16

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,567

Re: [SOLVED] Impossible to set different localization in Kde

i've replaced all utf8 entries on the locale wiki page with UTF-8 , so it should be correct now.

console keyboard layout and Xorg keyboard logout are treated as separate devices, each with their own settings.

If you search the wiki for keyboard configuration, you'll find there are alternatives to using setxkbmap.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2013-12-02 17:01:46

Senseoflife
Member
Registered: 2009-02-19
Posts: 25

Re: [SOLVED] Impossible to set different localization in Kde

Ok, I created a new file (/etc/X11/xorg.conf.d/10-keyboard.conf) with this content:

Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option                 "XkbLayout" "it"
EndSection

Now the keyboard seems to work correctly. Thank you for your help.

Offline

Board footer

Powered by FluxBB