Language settings lost

Since the last updates of manjaro in september 2022 my system switch from german to english. The settings I found are set to german, but system stay in english. How can I really get the german settings back?

1 Like

Thank you! I worked on the pacnew files, called locale-gen and reboot. But anything is in english again, only thunderbird is in german (has other bugs now).

If I call the manjaro settings manager than I can do nothing: all settings are for german.de language packages are installed.

Hi 6x12,

it is really a strong problem.
Please have a look to the circumstance, that there may be a correlation to keyboard layouts. I have two layouts. I am a german developer and like my desktop to be in german but my keyboard is for american english, because it is easier to write code.
i donā€™t know which screw in the system i have to turn.

# cat /etc/default/locale 
LANG=de_DE.UTF-8
LANGUAGE=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_TIME=de_DE.UTF-8

# cat /etc/locale.conf
LANG=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_TIME=de_DE.UTF-8

If I set LANGUAGE=de_DE.UTF-8 to /etc/locale.conf then any service truncate the file to the first line.

cat /etc/locale.gen
...
###
#
# Locales enabled by Calamares
en_US.UTF-8 UTF-8
de_DE.UTF-8 UTF-8
cat default/keyboard
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="applealu_ansi"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"

In home dir:

cat .config/manjaro-hello.json
{"locale": "de"}

cat .config/user-dirs.locale
de_DE

Sadly, giving concrete advise here is beyond my level. Wait until someone more knowledgeable chimes in.

If it was me, Iā€™d try to get rid of the en_US.UTF-8 UTF-8 listing here:

# Locales enabled by Calamares
en_US.UTF-8 UTF-8
de_DE.UTF-8 UTF-8

taking the hint from the output of cat /etc/locale.gen :

 # where <locale> is one of the locales given in /usr/share/i18n/locales
#  The locale-gen command will generate all the locales,
#  placing them in /usr/lib/locale.

so Iā€™d remove the en_US.UTF-8 UTF-8 from
/usr/share/i18n/locales and the folder for en_US.UTF-8 UTF-8 in /usr/lib/locale
then run cat /etc/locale.gen again and see if you get:

# Locales enabled by Calamares
de_DE.UTF-8 UTF-8

Then reboot. If it works, great, if not Iā€™d reverse my changes.

hi,
ok, the .pacnew is merged (I hope), as your cat /etc/locale.gen shows.

ā€¦wrong place, in Manjaro Settings Manager clic on ā€œlocalesā€ (Sprachumgebungseinstellungen)


ā€¦delete and create new the one that is not working. The right tab of the picture shows the finetuning, but keep that for later.
Now from the Application Menu open ā€œkeyboardā€

ā€¦add what you need, and/or change the order >>> reboot >>> success (partly ?) >>> back to finetuning.

hope that helps to manage it relaxed.

Thank you all!
banjo, I do, what you tell me. It does not work on my primary account. My second account on the same machine is in german and I can switch keyboard layout between german and english.

So, what is wrong in my user settings? I searched up and down but have no idea.

The software, I installed in september were audacious and ReText.
The nextcloud client was updated, signal too.

I found .dmrc in home dir with:

[Desktop]
Language=en_US.utf8
Session=xfce

ā€¦my lazy way would be creating a new user in MSM. Donā€™t just copy all your configurations, the error could be hiding there.

Most errors: ā€œsudoā€ when not needed/asked, ā€œsudo pip installā€, ā€¦

Thank you! On the one hand it sounds tempting. On the other it is a very large account.
And I like to find the reason to learn from. I donā€™t want to fall into the same trap again.

ā€¦the trap is blindly copy/paste random third party stuff and commands (sounds rude, Isnā€™t meant so).
Copy your configs, always only one by one, to your new account and test them.
This would be my save way, and maybe you will find the culprit.

Hi,
I found https://forum.manjaro.org/t/root-tip-how-to-change-username/15654

It is a solution, but not the best in my case with hundretthousands of files and many scripts ā€¦

You have created a new user account - which does not have the issue.
And you have your ā€œoldā€ user account - which you want to keep and fix.

It is a bit tedious, but just compare every file in the ~/.config directory of each account for differences.
Especially the contents of ~/.config/xfce4/xfconf

Or just rename the whole directory (so you have it backed up and can go back)
and then just start from scratch or use the original settings that Manjaro came with,
they are in /etc/skel
Just copy it from /etc/skel to your user account after you moved (renamed) the defunct xfce config directory.

None of that will harm your files and scripts.

I have found the easy solution:

I edit the file /etc/profile.d/locale.sh and add on top the line:

. /etc/default/locale

Now anything works as expected.

Thank you all for your help.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.