You are not logged in.
Pages: 1
Orignally, I had plasma installed and now I've switched to xfce4 ... the problem though was present in both. Accordingly my xfce4 etc. is in English, but I want it to be in German.
my locale seems wrong and although I followed the https://wiki.archlinux.org/title/locale carefully, whatever I do does not have any affect on my locale.
Here the output of my current settings
/etc/locale.conf
LC_CTYPE=de_DE.UTF-8
LC_ALL=de_DE.UTF-8
LANG=de_DE.UTF-8locale -a
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
C.utf8
POSIX
de_DE
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
de_DE@euro
deutsch
germanlocale
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=de_DE.UTF
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC="de_DE.UTF"
LC_TIME="de_DE.UTF"
LC_COLLATE="de_DE.UTF"
LC_MONETARY="de_DE.UTF"
LC_MESSAGES="de_DE.UTF"
LC_PAPER="de_DE.UTF"
LC_NAME="de_DE.UTF"
LC_ADDRESS="de_DE.UTF"
LC_TELEPHONE="de_DE.UTF"
LC_MEASUREMENT="de_DE.UTF"
LC_IDENTIFICATION="de_DE.UTF"
LC_ALL=Should it not be all de_DE.UTF-8 instead of just de_DE.UTF? It seems to me this is where the problem lies, but no matter how often I regenerate the locale, this never changes.
sudo locale-gen outputs:
Generating locales...
de_DE.UTF-8... done
de_DE.ISO-8859-1... done
de_DE.ISO-8859-15@euro... done
Generation complete.Rebooting does not help.
Also I removed any plasma confs after uninstalling everything related to KDE plasma.
Last edited by archnixie (2023-10-14 10:53:06)
Offline
Should it not be all de_DE.UTF-8 instead of just de_DE.UTF?
Yes it should be de_DE.UTF-8.
And I think these are conflicting with each other.
de_DE
de_DE.utf8
deutsch
german
Comment all in /etc/locale.gen file and uncomment de_DE.iso88591, de_DE.iso885915@euro, de_DE.utf8 one by one and run locale-gen in-between. You shouldn't "get locale: Cannot set..." warning.
Last edited by solskog (2023-10-14 12:05:11)
Offline
Thanks solskog, unfortunately this made absolutely no difference. The output of locale stays the same. It seems to me that although the locales are generated it has not effect in my system. Also I don't quite follow your logic of uncommenting them one by one and each time running locale-gen (although I did as you asked and even rebooted in between). I'm really stumped by this.
Offline
Forget about the iso locales, you don't need them.
Somewhere you have LANG being set wrong. Check your shell init files, including /etc/profile and /etc/profile.d/*.
Offline
No need to restart, just logout and login again, you will start a new session.
# cat /etc/locale.conf
LANG=de_DE.UTF-8
Comment all lines in /etc/locale.gen
Uncomment de_DE.utf8 in /etc/locale.gen
# locale-gen
Generating locales...
de_DE.UTF-8... done
# LANG=de_DE.UTF-8
# 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=You should only have these locales for now and no warnings.
# locale -a
C
C.UTF-8
de_DE.utf8
POSIXThen repeat previous steps with de_DE.iso88591, de_DE.iso885915@euro.
Last edited by solskog (2023-10-14 13:21:24)
Offline
LC_ALL=de_DE.UTF-8
LC_ALL is only for debugging, please remove that at least when having resolved this.
The bogus LC exports happen either in some shell rc or (plasma's otr for) https://wiki.archlinux.org/title/KDE#Pl … e_settings (though I don't see this spilling into xfce4)
Basic check in your $HOME
grep LC ~/.*rc ~/.*profileOnline
Pages: 1