From kde-core-devel Thu Sep 27 00:14:31 2007 From: Mauricio Piacentini Date: Thu, 27 Sep 2007 00:14:31 +0000 To: kde-core-devel Subject: Re: KConfig not reading translated entries Message-Id: <46FAF5E7.6030502 () tabuleiro ! com> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=119085214323013 >>today in kdegames we realized that KConfig seems not to readlocalized >>entries from .desktop files. >You are right, when using KConfig::setLocale(), the given locale is >never passed through to the KConfigBackend. Just to complement, while the example that Albert posted uses setLocale() explicitally, the bug can also be reproduced without it. In other words, unstranslated strings would be returned as well when KDE_LANG is set for example. Not sure if the patch attached covers this case as well. Regards, Mauricio Piacentini