Comment 1 for bug 1378408

Revision history for this message
Michael Zanetti (mzanetti) wrote :

This should probably be handled like this:

* First check if there is a localized key in the .desktop file like Name[de] and return that if available
* Otherwise check for a X-Ubuntu-Gettext-Domain and try to pull translation from gettext

This is how the Launcher does it:
http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/plugins/Unity/Launcher/desktopfilehandler.cpp#L111