Make some translation able to run! However, to judge the status of the packages, you need to use dgettext("PackageKit","Installed") etc.