On 16/02/2021 15.25, Bjoern Voigt wrote:
For an online session with English speaking participants I want to temporarily switch my KDE Plasma desktop on Tumbleweed from German to English. All texts should be shown in English. The keyboard layout should stay German. Units, time&date etc. should also stay German, but this is not important.
I tried to switch from German to English on two places: - Yast - see https://paste.opensuse.org/7974c2c3 - KDE system settings - see https://paste.opensuse.org/37e295e8
Of course I logged in again after changing these settings. I also tried rebooting.
Unfortunately desktop and console are still German. So probably something is configured wrong.
Programs do not show English messages: myuser@mybox:~> rm does-not-exists rm: das Entfernen von 'does-not-exists' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
"locale" shows German settings too: myuser@mybox:~> locale LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL=
Officially, the file to customize a user's locale, is [HOME]/.i18n. If it doesn't exist, create it. That doesn't mean that KDE listens to this setting. Gnome and XFCE do. I reported several bugs on this over the years, and now it works. I did not test KDE. My file: cer@Telcontar:~> cat .i18n # used by /etc/profile.d/lang.sh #CER - if it doesn't work edit /etc/profile.d/lang.sh, # see Bugzilla 567324 LC_TIME=en_DK.UTF-8 LC_MONETARY=es_ES.utf8 LC_NUMERIC=es_ES.utf8 LC_PAPER=es_ES.utf8 LC_TELEPHONE=es_ES.utf8 LC_MEASUREMENT=es_ES.utf8 LC_NAME=es_ES.utf8 cer@Telcontar:~> KDE also used "KDE_LANG=", but my notes say it works badly. Another interesting variable is "LANGUAGE", used by KDE. Example: LANGUAGE=es_ES.UTF-8:es For example, to launch a program in Spanish, I use: LANG=es_ES.UTF-8 LC_ALL=es_ES.UTF-8 DICTIONARY=espanol \ KDE_LANG=es_ES LANGUAGE=es_ES.UTF-8:es exec "$@" But you want to change the desktop. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)