Page 1 of 1

[Solved] porteus refuses to switch language

Posted: 20 Apr 2024, 12:38
by Chuck
Hello. I've installed the language files through the porteus settings centre, the modules are loaded at startup but the menus and applications remain in english. If i logout the language selection shows only "default". How do I troubleshoot this? I'm using porteus 5.01 lxqt x64

porteus refuses to switch language

Posted: 21 Apr 2024, 02:09
by ncmprhnsbl
Chuck wrote:
20 Apr 2024, 12:38
I'm using porteus 5.01 lxqt x64
not 100% sure, but it looks like language selection for lxqt is not properly implemented for lxqt.
see what happens if you go to menu>preferences>lxqt settings>locale, and set you chosen locale there. (this will add [formats]LANG=<your_locale> to ~/.config/lxqt/lxqt-config-locale.conf file)
you'll need to logout/in, too, i think.
Chuck wrote:
20 Apr 2024, 12:38
If i logout the language selection shows only "default".
if you mean on the lxdm login screen, i'm not sure it works there, though i would have thought it'd be handled by gtk..
also, to check whether the LANG environment variable is set properly, in terminal:

Code: Select all

echo $LANG

porteus refuses to switch language

Posted: 21 Apr 2024, 09:19
by Chuck
ncmprhnsbl wrote:
21 Apr 2024, 02:09
Chuck wrote:
20 Apr 2024, 12:38
I'm using porteus 5.01 lxqt x64
not 100% sure, but it looks like language selection for lxqt is not properly implemented for lxqt.
see what happens if you go to menu>preferences>lxqt settings>locale, and set you chosen locale there. (this will add [formats]LANG=<your_locale> to ~/.config/lxqt/lxqt-config-locale.conf file)
you'll need to logout/in, too, i think.
Chuck wrote:
20 Apr 2024, 12:38
If i logout the language selection shows only "default".
if you mean on the lxdm login screen, i'm not sure it works there, though i would have thought it'd be handled by gtk..
also, to check whether the LANG environment variable is set properly, in terminal:

Code: Select all

echo $LANG
I have a laptop with the same porteus version but language changing has worked flawlessly, maybe a fluke.

In lxqt locale the language is already set correctly. Anyway running the echo $LANG command returns:

Code: Select all

scn_IT.utf-8
Edit: I found the solution, looking at that output. In lxqt settings there are multiple Italian languages. Instead of it_IT there was chosen scn_IT for all of them apart the first setting. Thanks for the help.