[arch-general] Locale Changed
Hello, i use XFCE and when i now start i become all in english but i has write the locales in german. I not understand i do nothing make restart and now the GTK Programms in English, XFCE in English, VLC in English. siefke ~ $ cat /etc/locale.conf export LC_DATE=de_DE.utf8 export LC_NUMERIC=de_DE.utf8 export LC_TIME=de_DE.utf8 export LANG=de_DE.utf8 siefke ~ $ cat /etc/vconsole.conf KEYMAP=de-latin1 siefke ~ $ cat .bashrc | grep LANG export LANG=de_DE.UTF-8 siefke ~ $ cat .xinitrc | grep LANG export LANGUAGE=de_DE.utf8 export LANG=de_DE.utf8 I really not understand why now most Programs in English. Can someone give me an advice. Thanks for help & Nice day Silvio
On 25 December 2013 08:42, Silvio Siefke <siefke_listen@web.de> wrote:
Hello,
i use XFCE and when i now start i become all in english but i has write the locales in german. I not understand i do nothing make restart and now the GTK Programms in English, XFCE in English, VLC in English.
siefke ~ $ cat /etc/locale.conf export LC_DATE=de_DE.utf8 export LC_NUMERIC=de_DE.utf8 export LC_TIME=de_DE.utf8 export LANG=de_DE.utf8
siefke ~ $ cat /etc/vconsole.conf KEYMAP=de-latin1
siefke ~ $ cat .bashrc | grep LANG export LANG=de_DE.UTF-8
siefke ~ $ cat .xinitrc | grep LANG export LANGUAGE=de_DE.utf8 export LANG=de_DE.utf8
I really not understand why now most Programs in English. Can someone give me an advice.
Thanks for help & Nice day Silvio
You don't need the "export"s in /etc/locale.conf. It's for shell (script) only. P.S. If everything works, maybe you should remove those lines in .bashrc and .xinitrc too
On 2013-25-12, Tom Yan <tom.ty89@gmail.com> wrote:
On 25 December 2013 08:42, Silvio Siefke <siefke_listen@web.de> wrote:
siefke ~ $ cat /etc/locale.conf export LC_DATE=de_DE.utf8 export LC_NUMERIC=de_DE.utf8 export LC_TIME=de_DE.utf8 export LANG=de_DE.utf8
Setting the LC_* variables to the same value as LANG is unneccesary, as LANG will be used if they are unset anyway. See locale(7).
You don't need the "export"s in /etc/locale.conf. It's for shell (script) only.
The export statements are what probably break the locale assignment. Because according to locale.conf(5) "beyond mere variable assignments, no shell features are supported". And locale.conf is read by systemd, not your shell. Silvio, what is the output of the "locale" command inside your XFCE session? Also make sure the line "de_DE.UTF-8 UTF-8" is uncommented in /etc/locale.gen and run locale-gen afterwards. Regards, Sebastian
Hello, On Wed, 25 Dec 2013 14:23:04 +0100 Sebastian Schwarz <seschwar@gmail.com> wrote:
Setting the LC_* variables to the same value as LANG is unneccesary, as LANG will be used if they are unset anyway. See locale(7).
I has do, so in locale.conf i have only LANG=de_DE.UTF-8
The export statements are what probably break the locale assignment. Because according to locale.conf(5) "beyond mere variable assignments, no shell features are supported". And locale.conf is read by systemd, not your shell.
Sorry now little crazy. Should write export or not? In wiki stand exports thats why i use it.
Silvio, what is the output of the "locale" command inside your XFCE session?
siefke ~/Downloads $ locale LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= There stand all german but not present in System. Something really hate me :). I has delete all folders for config, i start with new account practical, i create other user. But ever the same. A mix of English and german. Not normal.
Also make sure the line "de_DE.UTF-8 UTF-8" is uncommented in /etc/locale.gen and run locale-gen afterwards.
siefke ~/Downloads $ cat /etc/locale.gen | grep de_DE # de_DE ISO-8859-1 # de_DE@euro ISO-8859-15 de_DE.UTF-8 UTF-8 #de_DE ISO-8859-1 #de_DE@euro ISO-8859-15 siefke ~/Downloads $ cat /etc/locale.conf LANG=de_DE.UTF-8 Funny thing, i have feeling i must Arch new install. :( Hope we find the mistake and thanks for help. Nice Day Silvio
1) Did you run 'locale-gen' command as suggested? 2) Are you sure programs you use have German locale? Maybe it doesn't :) -- Kirill Churin Jabber: reflexing@reflexing.ru
Hello, On Wed, 25 Dec 2013 22:33:47 +0600 Kirill Churin <reflexing@reflexing.ru> wrote:
1) Did you run 'locale-gen' command as suggested?
Yes see my mail which send before.
2) Are you sure programs you use have German locale? Maybe it doesn't :)
Yes im sure VLC, Sylpheed, Thunar, Geany, Xfce can use German locale, because they do it now too. I has reinstall Arch now. Thank you & Greetings Silvio
On Thu, Dec 26, 2013 at 8:42 AM, Silvio Siefke <siefke_listen@web.de> wrote:
Hello,
On Wed, 25 Dec 2013 22:33:47 +0600 Kirill Churin <reflexing@reflexing.ru> wrote:
1) Did you run 'locale-gen' command as suggested?
Yes see my mail which send before.
2) Are you sure programs you use have German locale? Maybe it doesn't :)
Yes im sure VLC, Sylpheed, Thunar, Geany, Xfce can use German locale, because they do it now too. I has reinstall Arch now.
Thank you & Greetings Silvio
Try to reinstall glibc. -- Kirill Churin Jabber: reflexing@reflexing.ru
On 12/26/13 at 11:14am, Kirill Churin wrote:
On Thu, Dec 26, 2013 at 8:42 AM, Silvio Siefke <siefke_listen@web.de> wrote:
Hello,
On Wed, 25 Dec 2013 22:33:47 +0600 Kirill Churin <reflexing@reflexing.ru> wrote:
1) Did you run 'locale-gen' command as suggested?
Yes see my mail which send before.
2) Are you sure programs you use have German locale? Maybe it doesn't :)
Yes im sure VLC, Sylpheed, Thunar, Geany, Xfce can use German locale, because they do it now too. I has reinstall Arch now.
Thank you & Greetings Silvio
Try to reinstall glibc.
In the future, if you get a warning or error that a necessary file is missing, you can use pkgfile to see if there is a package that should be providing it. This is what I get: $ pkgfile /usr/share/locale/locale.alias core/glibc -- Curtis Shimamoto sugar.and.scruffy [at] gmail.com
Hello, i has run now locale-gen and is this normal what come as output? archmobile ~ # locale-gen Generating locales... de_DE.UTF-8 locale alias file `/usr/share/locale/locale.alias' not found: No such file or directory Generation complete. That's not normal or? Thanks for help & Nice Day Silvio
No, try reinstalling glibc?
Hello, On Wed, 25 Dec 2013 14:43:00 +0800 Tom Yan <tom.ty89@gmail.com> wrote:
You don't need the "export"s in /etc/locale.conf. It's for shell (script) only. P.S. If everything works, maybe you should remove those lines in .bashrc and .xinitrc too
So i have changed and remove the entries in bashrc and xinitrc but it helps not. The System is mixed german and english. Thats not normal i do nothing and come so? http://silviosiefke.com/screen.png I not know what should do. If written utf big or small in the locale.conf? siefke ~ $ cat /etc/locale.conf LC_DATE=de_DE.UTF-8 LC_NUMERIC=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 LANG=de_DE.UTF-8 siefke ~ $ cat .xinitrc #!/bin/sh # # ~/.xinitrc # # Executed by startx (run your window manager from here) if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$f" ] && . "$f" done unset f fi exec startxfce4 Thanks for help & Regards Silvio -- Silvio Siefke <siefke_listen@web.de>
participants (6)
-
Curtis Shimamoto
-
Kirill Churin
-
mikar
-
Sebastian Schwarz
-
Silvio Siefke
-
Tom Yan