Bugzilla – Bug 911401
Wrong yast language when multiple languages specified in LANGUAGE env variable
Last modified: 2021-03-29 14:02:35 UTC
Steps to reproduce:
1. Make sure that neither LANG nor any LC_* variables are set
2. Run: export LANGUAGE="en_US:de:fr" (or set this language order in KDE's language settings)
3. Run: kdesu yast2
Since English is the first language, Yast2 should be in English.
Yast2 is in German!
If you do:
- export LANGUAGE="en_US"
- kdesu yast2
Yast2 will be in English.
It seems zypper is also affected partially.
When LANGUAGE="en_US:de:fr" then zypper is in English, but the confirmation prompt is in German:
Overall download size: 682.1 MiB. Already cached: 0 B After the operation, additional 753.3 MiB will be used.
Fortfahren? [j/n/? zeigt alle Optionen] (j):
Could be a duplicate of https://bugzilla.opensuse.org/show_bug.cgi?id=843573 but that one didn't have any details.
Martin, please, have a look. Is this supported?
I experience more or less the same.
I have made a clean installation. Like in completely wiped homedir (by accident :-))
I always install English, but with danish keyboard.
In system settings, I have set Formats Region Denmark, nothing else. (See screenshot)
I have NOT installed any danish languages (See screenshot)
I have NOT meddled with local settings manually (don't know how)
Still menu is in Danish. Some commands executed by sudo is in danish ... Weird and annoying
Created attachment 640019 [details]
Created attachment 640020 [details]
Language installed image
Created attachment 640021 [details]
Danish menu image
Created attachment 640022 [details]
Created attachment 640023 [details]
Konsole wrong language
As you can see konsole it self have english menuitems, and in the window sudo zypper dup replies in Danish.
At this point, i event set American as the first preferred language and Danish as the second in translations.
AND I have still not installed any translations at all.
My case is very similar to Jarl's:
- system language is set to EN_gb
- keyboard is set to FR_ch
- Language FR_ch has NOT been installed
But konsole and yast are in FR and not in EN. The output of locale gives:
(In reply to Alvise C from comment #8)
> My case is very similar to Jarl's:
> - system language is set to EN_gb
> - keyboard is set to FR_ch
> - Language FR_ch has NOT been installed
> But konsole and yast are in FR and not in EN. The output of locale gives:
> # locale
I have further variation of the issue:
As can be seen, LANG is set to en_US.UTF-8 but I still get Serbian translated messages from a few console programs.