[kde-linux] Wrong language detection in KDE since 3.1
Christian Esken
c.esken at cityweb.de
Fri Mar 28 21:52:03 GMT 2003
Am Friday 28 March 2003 22:47 schrieb Christian Esken:
> Am Friday 28 March 2003 21:58 schrieb Lukáš Tinkl:
> So the correct preference order is:
>
> LANG
> LC_MESSAGES
> LC_ALL
>
> > > According to the aforementioned man page to following change would
> > > correct KDE's language determination:
> > > =====
> > > - langs << QFile::decodeName( ::getenv("LC_CTYPE") );
> > > - langs << QFile::decodeName( ::getenv("LC_MESSAGES") );
> > > langs << QFile::decodeName( ::getenv("LC_ALL") );
> > > + langs << QFile::decodeName( ::getenv("LC_MESSAGES") );
> > > langs << QFile::decodeName( ::getenv("LANG") );
>
> Doesn't this do prefefence on LC_ALL?!? Looks wrong to me.
Oops. I am wrong. Patch looks OK.
Chris
More information about the kde-core-devel
mailing list