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 Expected result: Since English is the first language, Yast2 should be in English. Actual result: Yast2 is in German! More info: 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] Formats image
Created attachment 640020 [details] Language installed image
Created attachment 640021 [details] Danish menu image
Created attachment 640022 [details] Translations image
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: # locale LANG=fr_CH.UTF-8 LC_CTYPE="fr_CH.UTF-8" LC_NUMERIC="fr_CH.UTF-8" LC_TIME="fr_CH.UTF-8" LC_COLLATE="fr_CH.UTF-8" LC_MONETARY="fr_CH.UTF-8" LC_MESSAGES="fr_CH.UTF-8" LC_PAPER="fr_CH.UTF-8" LC_NAME="fr_CH.UTF-8" LC_ADDRESS="fr_CH.UTF-8" LC_TELEPHONE="fr_CH.UTF-8" LC_MEASUREMENT="fr_CH.UTF-8" LC_IDENTIFICATION="fr_CH.UTF-8" LC_ALL=
(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 > LANG=fr_CH.UTF-8 > LC_CTYPE="fr_CH.UTF-8" > LC_NUMERIC="fr_CH.UTF-8" > LC_TIME="fr_CH.UTF-8" > LC_COLLATE="fr_CH.UTF-8" > LC_MONETARY="fr_CH.UTF-8" > LC_MESSAGES="fr_CH.UTF-8" > LC_PAPER="fr_CH.UTF-8" > LC_NAME="fr_CH.UTF-8" > LC_ADDRESS="fr_CH.UTF-8" > LC_TELEPHONE="fr_CH.UTF-8" > LC_MEASUREMENT="fr_CH.UTF-8" > LC_IDENTIFICATION="fr_CH.UTF-8" > LC_ALL= I have further variation of the issue: # locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC=sr_RS.UTF-8 LC_TIME=sr_RS.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=sr_RS.UTF-8 LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT=sr_RS.UTF-8 LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= As can be seen, LANG is set to en_US.UTF-8 but I still get Serbian translated messages from a few console programs.