KConfig not reading translated entries

Albert Astals Cid aacid at kde.org
Wed Sep 26 23:01:41 BST 2007


Hi, today in kdegames we realized that KConfig seems not to read localized 
entries from .desktop files.

That is quite critical in my opinion. (Not kdegames failing but kdelibs not 
handling translations correctly)

I'm attaching a code and a .desktop file that according to what we understand 
from the API should give me the localized version although i get the original 
one.

Is there anyone with enough KConfig knowledge to have a look at this?

Albert

P.S: Of course if you want to test, you have to change the path to the desktop 
file in main.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 479 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070927/f7eddbe4/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.desktop
Type: application/x-desktop
Size: 37 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070927/f7eddbe4/attachment.bin>


More information about the kde-core-devel mailing list