lost locale when starting with kdm

I used to start kdm4 manually with startx with

Code:
 > cat .xinitrc
#!/bin/sh
KDEDIR="/usr/local/kde4"
LD_LIBRARY_PATH=$KDEDIR/lib
KDEHOME="~/.kde4"
PATH=$PATH:$KDEDIR/bin
export KDEDIR
export LD_LIBRARY_PATH
export KDEHOME
exec /usr/local/kde4/bin/startkde

After changing to ...
Code:
> grep ttyv8 /etc/ttys
ttyv8   "/usr/local/kde4/bin/kdm"       xterm           on  secure
... KDE starts, but applications have english menus now.

printenv shows this when run from konsole (konsole itself has english menue)
Code:
> printenv | grep ISO
LC_ALL=de_DE.ISO8859-15
LANG=de_DE.ISO8859-15
MM_CHARSET=ISO-8859-15

Prevent me from getting crazy as i tried to fix this the whole weekend now. How do I have to set locale when using kdm?
 
Solved

After editing /etc/login.conf to

Code:
	:charset=UTF-8:\
	:lang=de_DE.UTF-8:

I forgot to run
Code:
# cap_mkdb /etc/login.conf

Shame on me.
 
Back
Top