Bug 189833

Summary: kpackagekit translations not working
Product: [Frameworks and Libraries] kpackagekit Reporter: Sebastian Vahl <deadbabylon>
Component: generalAssignee: Steven M. Parrish <smparrish>
Status: RESOLVED FIXED    
Severity: normal CC: dantti12, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of kpackagekit

Description Sebastian Vahl 2009-04-16 21:23:54 UTC
Version:           0.4.0 (using KDE 4.2.2)
OS:                Linux
Installed from:    Fedora RPMs

Fedora creates a fixed tarball of kpackagekit which adds the translations (see bug #189832 for reference). But when using kpackagekit with a different language (here: LANG=de_DE.UTF-8) only the left side of the window is translated. It seems that the .mo files are not used, only the .desktop files (in Fedora eg:/usr/share/kde4/services/kpk_settings.desktop).
Comment 1 Sebastian Vahl 2009-04-16 21:25:01 UTC
Created attachment 32877 [details]
Screenshot of kpackagekit

Screenshot of the main window of kpackagekit. The left side is correctly translated into german, the right side is still english.
Comment 2 Daniel Nicoletti 2009-04-16 22:02:10 UTC
Are you sure you loged out and in before testing? also make sure the files are in the right place, i have older versions working fine, 0.4.1 is going to be release soon i'll try to add the translations in the tarball.
thanks.
Comment 3 Sebastian Vahl 2009-04-16 22:07:44 UTC
Yes, I've done several logouts for testing. I've also changed the system language to fr_FR@UTF-8 for testing and tried it with a different user. And my last test was with an extra created livecd with german language (== clean installation).
(Maybe have a look at the downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=493061)

The translated files are located here: 
/usr/share/kde4/services/kpk_addrm.desktop
/usr/share/kde4/services/kpk_settings.desktop
/usr/share/kde4/services/kpk_update.desktop
/usr/share/kde4/services/settings-add-and-remove-software.desktop
/usr/share/locale/ca/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/cs/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/de/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/el/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/en_GB/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/et/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/fr/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/ga/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/gl/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/lt/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/nb/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/nds/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/nl/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/nn/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/pa/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/pl/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/pt/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/pt_BR/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/ro/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/sv/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/tr/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/uk/LC_MESSAGES/kpackagekit.mo
/usr/share/locale/zh_CN/LC_MESSAGES/kpackagekit.mo
Comment 4 Daniel Nicoletti 2009-04-30 19:35:17 UTC
It is fixed in the svn version.