doesn't display translated desktop names

Bug #601043 reported by Sebastien Bacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Mikkel Kamstrup Erlandsen
unity-lens-applications
Fix Released
High
Mikkel Kamstrup Erlandsen
unity (Ubuntu)
Fix Released
Undecided
Unassigned
unity-place-applications (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: unity-place-applications

The current maverick version displays english names

Tags: places
Changed in unity-place-applications (Ubuntu):
importance: Undecided → Low
Neil J. Patel (njpatel)
Changed in unity-place-applications:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

The problem boils down to this:

I am using g_app_info_get_display_name() to look up the name of the app. This *should* take the current locale into account. Seems that this is broken.

I am not very knowledgeable on this, but it appears that the translations are split from the .desktop files out into some .cache files like /usr/share/applications/desktop.en_DK.utf8.cache.

Assuming that this is right, the problem is really that this behaviour breaks glib, which would mean that all apps relying on GAppInfos are broken, in which case The Right Fix (TM) is to patch glib (or revert to the expected behaviour).

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I am now initializing gettext on startup - this hopefully triggers the right gettext stuff in glib.

Regarding my last comment - I can see that we are indeed shipping some patches for glib to fetch external translations

Changed in unity-place-applications:
status: Triaged → Fix Committed
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

seb128 (or someone using a translated desktop) - can you please confirm whether or not this is fixed in trunk?

Revision history for this message
Sebastien Bacher (seb128) wrote :

I will try when I'm back from GUADEC

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

tried with 0.2.8 and it's unfortunately not fixed.

Changed in unity-place-applications:
status: Fix Committed → Triaged
Changed in unity-place-applications (Ubuntu):
status: New → Triaged
David Barth (dbarth)
Changed in unity:
importance: Undecided → High
milestone: none → backlog
Neil J. Patel (njpatel)
Changed in unity:
milestone: backlog → 2010-08-26
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
status: New → Triaged
tags: added: places
Changed in unity-place-applications:
status: Triaged → Fix Committed
Changed in unity:
status: Triaged → Fix Committed
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

was fixed release last week.

Changed in unity-place-applications (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

(0.2.14-0ubuntu1)

Changed in unity-place-applications:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
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.