You are not logged in.
Hello,
First time posting since this issue is difficult to google, as it's on troubleshooting side. I've read all about locales on archwiki and some on other sources, but all of that did not help my case. It might be something simple I'm missing, but I'd like to understand what's going on here.
I've wanted to change my language to polish once and so I did. Then I decided it's not so good idea and tried to revert it with mixed success. Some programs still output logs in console in polish and I'm asking here to help me understand what else could be the problem? Here are my set locale:
CSF_LANGUAGE=us
LANG=en_US.UTF-8
LANGUAGE=en_US:pl
LC_ADDRESS=pl_PL.UTF-8
LC_COLLATE=pl_PL.UTF-8
LC_CTYPE=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_MEASUREMENT=pl_PL.UTF-8
LC_MONETARY=pl_PL.UTF-8
LC_NAME=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_PAPER=pl_PL.UTF-8
LC_TELEPHONE=pl_PL.UTF-8
LC_TIME=pl_PL.UTF-8
LC_MESSAGES=en_US.UTF-8And in KDE I have both languages installed and english is set as primary (it's above polish).
For example, when I run pacman, I get warning about TotalDownloads not being recognized in pacman.conf, but the message is in polish.
Here's my locale.conf:
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ADDRESS=pl_PL.UTF-8
LC_COLLATE=pl_PL.UTF-8
LC_CTYPE=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_MEASUREMENT=pl_PL.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_MONETARY=pl_PL.UTF-8
LC_NAME=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_PAPER=pl_PL.UTF-8
LC_TELEPHONE=pl_PL.UTF-8
LC_TIME=pl_PL.UTF-8And yes, I've updated my arch just today which resulted in ohmyzsh not working anymore due to perl not recognizing append_path (I suppose that's the problem), but that's another issue.
Last edited by zenfur (2022-05-26 19:21:16)
Offline
See what's in ~/.config/plasma-localerc
For the perl issue, you didn't merge your .pacnew files.
Offline
Here's plasma localerc:
cat ~/.config/plasma-localerc
[Formats]
LANG=en_US.UTF-8
[Translations]
LANGUAGE=en_US:plI'll look into what .pacnew is, thanks ![]()
Does translations part mean that it attempts to translate en messages into pl?
Last edited by zenfur (2022-05-22 13:21:16)
Offline
I don't know what the Translations section does, but it is suspect. You can get rid of it and see, or just delete the entire file which will default back to the system locale config.
Offline
https://wiki.archlinux.org/title/Locale … ck_locales
What happens is that LANGUAGE=en_US:pl tests en_US first, fails (because there's no en_US translation because the Cstring is in US english anyway) and then finds a polish locale and uses that.
Offline
so the correct locale should be LANGUAGE=C:en_US:pl? Which locale is the default C string?
Offline
You don't need LANGUAGE at all if you want untranslated strings.
Offline
Yeah updating LANGUAGE=en_US has fixed the issue, thanks a lot for your time
It didn't occur to me that original messages could not have been tagged as english "translations"...
Last edited by zenfur (2022-05-26 19:22:26)
Offline