You are not logged in.
Hi, I can't understand how this happened, but in my terminal I get some messages in greek and others in english.
So, for example, if I type a non-existent command (either in root or non-root user), I get:
> blah
bash: blah: εντολή δεν βρέθηκεBut in pacman, I get messages in english. For example, in non-root, I have:
> pacman -S whatever
error: you cannot perform this operation unless you are root.Here is my /etc/locale.conf:
LANG=en_US.UTF-8
LC_COLLATE=en_US.UTF-8Here is my ~/.config/plasma-localerc
[Formats]
LANG=en_US.UTF-8
LC_COLLATE=en_BE.UTF-8
LC_MEASUREMENT=en_BE.UTF-8
LC_MONETARY=en_BE.UTF-8
LC_NUMERIC=en_BE.UTF-8
LC_TIME=en_BE.UTF-8
useDetailed=true
[Translations]
LANGUAGE=en_US:elIn /etc/locale.gen I have uncommented the following lines:
el_GR.UTF-8 UTF-8
el_GR ISO-8859-7
el_GR@euro ISO-8859-7
en_US.UTF-8 UTF-8
nl_BE.UTF-8 UTF-8
nl_BE@euro ISO-8859-7(There are no en_BE entries in this file to uncomment...)
How can I change settings so that everything is in english regarding the terminal? I still want to be able to write in greek in other applications.
Last edited by coveirdo (2020-12-06 09:29:54)
Offline
Not sure whether it has to do with my LANGUAGE variable, because if I do:
> LANGUAGE=en_US:de blah
bash: blah: εντολή δεν βρέθηκεI still get the message in greek...
Offline
Any help, please?
If the silence has to do with a previous post of mine, where I said I have Antergos, I'd like to let you know that I have entirely converted my system to Arch.
Last edited by coveirdo (2020-12-05 13:18:30)
Offline
Please post the outputs of "locale", "localectl" and "locale -a"
LANGUAGE=en_US:eldefines a fallback solution and is some sort of trap - since C is more or less en_US, many strings will not have translations for "en_US" so you're using "el" which is greek.
=> Why is that there?
"en_US:de" will not resort to "de" because you probably don't even have that locale.
Offline
Here are the outputs of the requested commands.
> locale
locale: Cannot set LC_ALL to default locale: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_BE.UTF-8
LC_TIME=en_BE.UTF-8
LC_COLLATE=en_BE.UTF-8
LC_MONETARY=en_BE.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_BE.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=> localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us,gr
X11 Model: latitude
X11 Variant: euro,simple
X11 Options: grp:lalt_lshift_toggle> locale -a
locale: Cannot set LC_COLLATE to default locale: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
C
POSIX
el_GR
el_GR.iso88597
el_GR.iso88597@euro
el_GR.utf8
el_GR@euro
en_US.utf8
greek
nl_BE.iso885915@euro
nl_BE.utf8
nl_BE@euroThe message "Δεν υπάρχει τέτοιο αρχείο ή κατάλογος" means "No such file or directory".
=> Why is that there?
I honestly don't know. Is there a non-patchy way to fix this?
Last edited by coveirdo (2020-12-06 08:38:23)
Offline
"en_BE.UTF-8"?
You're apparently also trying to set LC_ALL, likely in some shell rc?
Is there a non-patchy way to fix this?
Since it's in the plasma-localerc, likely the plasma locale config dialog in systemsettings?
Offline
Thank you seth! Indeed, I had wrong settings in the System Settings dialog. Sorry to bother with something that simple.
Marking the thread as solved.
Offline