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
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 Gettext- Domain and try to pull translation from gettext
* Otherwise check for a X-Ubuntu-
This is how the Launcher does it: bazaar. launchpad. net/~unity- team/unity8/ trunk/view/ head:/plugins/ Unity/Launcher/ desktopfilehand ler.cpp# L111
http://