On 2017-11-13 20:56, listreader wrote:
On Mon, 13 Nov 2017 13:31:49 +0100 (CET) "Carlos E. R." <> wrote:
I do not see a setting to set the user language in XFCE, different from the system language.
Traditionally I use the file .i18n file, like this:
...
I get English (this is already reported in Bugzilla). Is there another "correct" way to set the language per user on XFCE?
This isn't something I come across because I use English exclusively nowadays (tho I grew up on a Spanish-speaking Caribbean island, that was a long l-o-n-g time ago) but it is interesting enough that I did a quick google. It appears that like pretty much everything in XFCE (such as how one locks the desktop icons) there are multiple ways to successfully accomplish what you want to do, but no 'official' way. Look at...
https://bbs.archlinux.org/viewtopic.php?pid=1503191#p1503191
... which uses .bashrc and .profile variables. Does that work?
Probably, yes. Not tested. I found some methods that work, thanks, while talking on the other bugzilla. The "proper" way in openSUSE is to select the language _before_ login. This does not work for XFCE, at least (tested on TW). Maybe for a new user on the first login, dunno. However, there are two methods that work: {HOME}/.i18n: LANG=es_ES.utf8 LC_LANG=es_ES.utf8 unset _save which I do not know if it has other effects. Or, in the same file: LANG=es_ES.utf8 LC_LANG=es_ES.utf8 GDM_LANG=es_ES.utf8 This works because the system scripts decide to override LANG if GDM_LANG is set, and this can not be changed. So the above works - at least as long as I don't use KDE (untested). I never hit this problem personally because I prefer to see programs in English, but sometimes I let other people use my computer and they do want Spanish. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)