Can't change the Language in System Settings > Region & Language

Hi,

When I click at “Modify…” (the yellow rectangle, as a part of the System Settings), then select “English”, the Language will always remain at the previous value (“Croatian”). The Manjaro Settings Manager (from the right) shows the correct distribution of languages, but the system doesn’t follow those settings strictly - my GUI applications keep displaying the app menus in Croatian, which I’d like to avoid. There might be a conflict between the two, please take a look:

$ cat /etc/locale.conf
LANG=en_US.UTF-8
LC_CTYPE=hr_HR.UTF-8
LC_NUMERIC=hr_HR.UTF-8
LC_TIME=hr_HR.UTF-8
LC_MONETARY=hr_HR.UTF-8
LC_PAPER=hr_HR.UTF-8
LC_NAME=hr_HR.UTF-8
LC_ADDRESS=hr_HR.UTF-8
LC_TELEPHONE=hr_HR.UTF-8
LC_MEASUREMENT=hr_HR.UTF-8
LC_IDENTIFICATION=hr_HR.UTF-8

$ cat /etc/default/locale
LANG=en_US.UTF-8
LC_ADDRESS=hr_HR.UTF-8
LC_IDENTIFICATION=hr_HR.UTF-8
LC_MEASUREMENT=hr_HR.UTF-8
LC_MONETARY=hr_HR.UTF-8
LC_NAME=hr_HR.UTF-8
LC_NUMERIC=hr_HR.UTF-8
LC_PAPER=hr_HR.UTF-8
LC_TELEPHONE=hr_HR.UTF-8
LC_TIME=hr_HR.UTF-8

$ locale -v
LANG=hr_HR.UTF-8
LC_CTYPE=hr_HR.UTF-8
LC_NUMERIC=hr_HR.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=hr_HR.UTF-8
LC_MONETARY=hr_HR.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=hr_HR.UTF-8
LC_NAME=hr_HR.UTF-8
LC_ADDRESS=hr_HR.UTF-8
LC_TELEPHONE=hr_HR.UTF-8
LC_MEASUREMENT=hr_HR.UTF-8
LC_IDENTIFICATION=hr_HR.UTF-8
LC_ALL=

$ locale -a
C
C.UTF-8
en_US.utf8
hr_HR.utf8
POSIX

Running sudo localectl set-locale LANG="en_US.UTF-8" && sudo locale-gen followed by restart doesn’t resolve the issue. How to change only my Language setting (LANG) from Croatian to English, by keeping the rest of my locale variables intact?

Hi @Jazz,

Please have a look here:

2 Likes

Thanks @Mirdarthos, I found the culprit - Plasma:

$ cd && find . -maxdepth 2 -type f -exec grep -lr "LANG=hr_HR.UTF-8" {} \;
./.config/plasma-localerc

When I changed it manually, now it all works great.

If you have been modifying locale and are having locale trouble (:point_right: KDE) it can be difficult to locate the offending setting because scripts and rc configurations can change locale outside the obvious locations.

Since Plasma is the essential part of Manjaro KDE Plasma is it possible to make that specific configuration file play along nicely within the System Settings, to avoid similar issues? Or at least to notify a user when the setting won’t change in a more meaningful way to avoid confusion, that would be great.

1 Like

I have absolutely no idea, since mine is English and working perfectly!