Desktop file parser does not regard localization

Bug #1378408 reported by Michael Zanetti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QtMir
New
Undecided
Unassigned

Bug Description

Steps to reproduce:

* Set the phone to a language other than english
* launch the Contacts app

actual outcome:
splash says "Contacts"

expected outcome:
splash title should be localized

The same is valid for "Name" (shown in the default splash screen) and probably others too.

summary: - X-Ubuntu-Splash-Title is not localized
+ Desktop file parser does not regard localization
description: updated
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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.