trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: September 2018

Re: [trinity-users] Re: change TDE language setting instantly

From: Stefan Krusche <linux@...>
Date: Wed, 12 Sep 2018 02:17:26 +0200
Hi Nick,

Am Mittwoch, 12. September 2018 schrieb Nick Koretsky:
> > > I was thinking if you start app with the language variable set, it
> > > would work, but I just tested and it does not
> >
> > Ok, didn't think of that one. Maybe it's possible to work that out.
>
> "LANG=x your_app" will start a program with a different language
> settings. But beware of LANG interaction with LC_ - LC_ overrides LANG.
> Use LC_ALL instead of LANG if you want to be 100% sure, but this can be
> undesirable... For example if you want to start application with english
> GUI, but have german sorting and dates, use "LANG=en_US.UTF-8
> LC_COLLATE=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 your_app"

As promising as that looked it didn't work when I start kwrite in konsole.

  $ LANG=en_US.UTF-8 kwrite

starts kwrite with german GUI.

$ locale
LANG=de_DE.UTF-8
LANGUAGE=
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=

Even when I switch to english locale:

  $ export LANG=C; locale
LANG=C
LANGUAGE=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

  $ kwrite

...still has german GUI unfortunately.

Thanks,
Stefan