On 06/08/2019 22.37, gumb wrote:
New install, Leap 15.1.
Just getting basics set up. I generally use English (GB) for all system setup and desktop interface elements, with French added as a keyboard layout and/or for secondary language support. So after looking yesterday in YaST -> Software Management and viewing the Language tab, I scrolled down to fr and ticked 4 or 5 additional French packages, including yast2-trans-fr.
You probably switched the default language to French without noticing. Or there is a bug or strange behaviour when adding languages.
Today when I start YaST, all the menus are in French. Ok, I can use it, but I prefer that it stays in English, for now at least. I just like to have French as a switchable standby for providing/receiving support, and/or for possible additional system users. So thinking it must be that yast2-trans-fr package I added which is responsible, I remove it again. When I start up YaST again, the menus are still in French, whereas the configuration options shown within each YaST category are in English for some and French for others.
When there is no translation for an item, it reverts to English. You can report a bug for that. Include screenshots, possibly better from the ncurses yast interface.
I've looked in the root home, in /etc and cannot find where this is configured. At the bottom of the file /etc/sysconfig/language, is a setting described as 'List of installed language supports, use by YaST2'. It is set as INSTALLED_LANGUAGES="en_GB"
(which is wrong, you installed French as well)
Everything else in the system is in English GB. Why is it overriding this in YaST, and where is this set?
The language is set in the environment, the "LANG" variable. You can display it with the locale command - mine says it goes in English: I have two scripts to select language for a program: Telcontar:~ # cat /usr/local/bin/ingles #!/bin/sh LANG=en_US.UTF-8 \ LC_ALL=en_US.UTF-8 \ DICTIONARY=english \ KDE_LANG=en_US.UTF-8 \ exec "$@" Telcontar:~ # Telcontar:~ # cat /usr/local/bin/espaniol #!/bin/sh LANG=es_ES.UTF-8 LC_ALL=es_ES.UTF-8 DICTIONARY=espanol KDE_LANG=es_ES exec "$@" Telcontar:~ # Thus I can do: Telcontar:~ # espaniol yast and I get it in Spanish: +++................... YaST2 - menu @ Telcontar ┌───────────────────────────────────────────────────────────────────────────┐ │ Centro de control de YaST │ └───────────────────────────────────────────────────────────────────────────┘ ┌─────────────────────┐ ┌───────────────────────────────────────────────────┐ │Software ┬ │Actualización en línea ┬ │Sistema │ │Instalar / desinstalar software │ │Hardware │ │Actualización de FACTORY │ │Servicios de red ┴ │Comprobación de medios grabados │ │Seguridad y usuarios │ │Herramienta de configuración en línea ┴ │Virtualización │ │Productos adicionales │ └─────────────────────┘ └───────────────────────────────────────────────────┘ [Ayuda] [Ejecutar][Salir] F1 Ayuda F9 Salir ...................++- The language can be set for each user differently. There is a standard method that is known by few: editing file ~/.i18n For example: 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@euro LC_NUMERIC=es_ES@euro LC_PAPER=es_ES@euro LC_TELEPHONE=es_ES@euro LC_MEASUREMENT=es_ES@euro LC_NAME=es_ES@euro cer@Telcontar:~> which leaves the language as the default system "English", but alters some of the settings. I know this works right in the terminal and in XFCE, because I write bugzillas when it doesn't. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)