trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: October 2012

Re: [trinity-users] Choice of language

From: Slávek Banko <slavek.banko@...>
Date: Mon, 1 Oct 2012 18:03:54 +0200
Dne čt 27. září 2012 Jean Milot napsal(a):
> Hello,
>
> I have a problem with language.
>
> I choose the language for kde to switch between : pt and fr.
>
> It works only for the kde application (not icedove, iceweasel, chrome
> ...)
>
> I have modify the script startkde in which I export the variable : LANG
>
> In order to obtain the language of kde, i search in the
> .trinity/share/config/kdeglobals, language to export the good variable.
>
> But it seems that when we change the languages the kdeglobals files is
> modified and the variable language disappear.
>
> Thanks for your help.
>
> Sincerely,
>
> Jean

Setting environment variable LANG according to the language settings in 
TDE can be a problem. For example, for my language - Czech is in 
kdeglobals Language=cs, but I need to use LANG to cs_CZ.UTF-8.

I have no idea for a good solution. I use setting LANG in ".profilerc". By 
this way, the user gets to him desired language in TDE at the first 
login.

Slávek
--