libxklavier translation (was: Re: is new lib dependency possible for 3.5.2?)

Nicolas Goutte nicolasg at
Fri Feb 3 13:05:15 GMT 2006

On Friday 03 February 2006 13:53, Stephan Kulow wrote:
> Am Freitag, 3. Februar 2006 13:19 schrieb Nicolas Goutte:
> > On Thursday 02 February 2006 16:06, Chusslove Illich wrote:
> > > > [: Nicolas Goutte :]
> > > > I have looked at the code of libxklavier.
> >
> > (...)
> >
> > > Perhaps something like this can be done: make libxklavier assume same
> > > language priority as KDE (there is call in KLocale to get the list of
> > > languages),
> >
> > The problem is that libxklavier does not know about $LANGUAGE so you
> > cannot give a language list to it.
> We need to fix that anyway for KDE4. Later though, but the mismatch between
> environment and KDE's language choice is just causing more problems than
> what it's good for.

Well, the problem is still that libxklavier reads $LC_ALL (or $LANG or 
$LC_MESSAGE) to determine the language. So if KDE is supposed to control the 
translation, $LC_ALL must be set to C or to American English. If KDE 
delegates the translation, then $LC_ALL needs to be put in the language of 
highest priority in KDE.

(If $LANGUAGE was known, the KDE language list could be put into this 
environment variable.)

So the choice has little to do with KDE3 or KDE4, even if KDE4 would use 
$LANGUAGE instead of $KDE_LANG or if KDE4 would always correctly set 

> Greetings, Stephan

Have a nice day!

More information about the kde-core-devel mailing list