You are not logged in.
Hello everyone, it is my first topic on archlinux.org
I faced problem with set locale for KDE, a specifically a lot of "--help" and "man" pages in konsole showed for me not in system language (English), and a can't fix it by myself over long time.
Here is my locale output
[bem@archlinux ~]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=ru_RU.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=also some of localectl:
[bem@archlinux ~]$ localectl
System Locale: LANG=en_US.UTF-8
LANGUAGE=en_US:en
VC Keymap: en
X11 Layout: us
X11 Model: pc105+inet
X11 Options: terminate:ctrl_alt_bkspI think that problem in LANGUAGE variable, because in env output it seems like that:
[bem@archlinux ~]$ env | grep -E "LANG|LOC"
LANGUAGE=en_US:ru:en_US
LANG=en_US.UTF-8But i am dont know why LANGUAGE variable have en_US:ru:en_US, because my locale.conf and plasma-localerc is:
[bem@archlinux ~]$ cat /home/bem/.config/plasma-localerc
[Formats]
LANG=en_US.UTF-8
LC_TIME=ru_RU.UTF-8
[Translations]
LANGUAGE=en_US
[bem@archlinux ~]$ cat /etc/locale.conf
LANG=en_US.UTF-8
LANGUAGE=en_US:enСan someone explain me what i am doing wrong and why man and help pages not in English?
Last edited by alxndrklbk (2023-03-07 15:19:04)
Offline
Did you alter plasma-localerc without a re-login?
What's the output of
locale -aman interprets $LC_MESSAGES & $LANG, $LANGUAGE is ignored for me.
LANG= LC_MESSAGES= LANGUAGE=en man man
LANG= LC_MESSAGES= LANGUAGE= man man
LANG= LC_MESSAGES= LANGUAGE=ru man manshould™ all be English.
Likewise
LC_MESSAGES=en_US.UTF-8 man manOffline
Did you alter plasma-localerc without a re-login?
What's the output of
locale -aman interprets $LC_MESSAGES & $LANG, $LANGUAGE is ignored for me.
LANG= LC_MESSAGES= LANGUAGE=en man man LANG= LC_MESSAGES= LANGUAGE= man man LANG= LC_MESSAGES= LANGUAGE=ru man manshould™ all be English.
Likewise
LC_MESSAGES=en_US.UTF-8 man man
output is:
[bem@archlinux ~]$ locale -a
C
C.UTF-8
en_US.utf8
POSIX
ru_RU.utf8each time when plasma-localers changed i do reboot
Offline
Problem was in konsole settings.
I don't know why and how, but it has config parameter "Fallback language" in GUI, and it was active.
So konsole trying translate all messages.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline