Using Fedora 42 (I quickly tested with 41, it’s the same behavior) with Gnome.
My native language is Polish. I want to have everything in my native Polish language, except console/terminal messages which I want in English. In every other distro, what I did, was set adding line export LC_MESSAGES=en_US.UTF-8
to .bashrc file. After doing that, my WHOLE SYSTEM in in English. If I set that to for example German, my whole system will be in German. At the same time, all other locales are still pl_PL.UTF-8.
locale command output:
LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
localectl status command output:
System Locale: LANG=pl_PL.UTF-8
VC Keymap: pl
X11 Layout: pl
sudo cat /var/lib/AccountsService/users/kuba-fedora command output:
[User]
Languages=pl_PL.UTF-8;
Session=
PasswordHint=
Icon=/var/lib/AccountsService/icons/kuba-fedora
SystemAccount=false
Changing LC_MESSAGES with localectl set-locale
results in the exact same situation. And at the same time, in Gnome Settings → Regions&Language are also still Polish.
(After changing anything, to be 100% sure I’m rebooting)
What the heck? I can’t change language in console/terminal for English without changing the whole system’s language? I’ve never encountered anything like that in other distros. That looks like some bug, or I’m doing something wrong.