Message: previous - next
Month: September 2018

Re: [trinity-users] Re: UPDATE: switch language setting for one program instantly - was: [change TDE language setting instantly]

From: Stefan Krusche <linux@...>
Date: Thu, 13 Sep 2018 21:34:24 +0200
Hello deloptes,

Am Donnerstag, 13. September 2018 schrieb deloptes:
> Pisini, John wrote:
> > Does anyone know where the documentation for tdecmshell is or even the
> > old KDE version from way back? I tried searching for it and couldn't find
> > it.
> This is just two files! It looks like it talks to dcop from what I see.
> It says
>     const TQCString lang = args->getOption("lang");
>     if( !lang.isNull() )
>         TDEGlobal::locale()->setLanguage(lang);

Does this code check for option "--lang .."? And if its not there take global 
language settings?

> so when I run
>         tdecmshell --lang en_US language
> I see window title and buttons in english, but the dialogs are shown in the
> whatever language is set.

Same here as reported.

Do you know if there's a way to start a program with dcop and a different 
language than configured globally?

Kind regards,