! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
If Name is last in .desktop file translation is not used
Status:
RESOLVED: DUPLICATE

Comments

Description scootergrisen 2017-06-24 22:26:11 CEST
I noticed a few menu item appear with english text even though they have been translated to my language.
If i install Debian 9 with both GNOME and Xfce. In GNOME the menu item says the correct translated text "Diskforbrugsanalyse" (Name[da]="Diskforbrugsanalyse").
But in Xfce it says the english text "Disc Usage Analyzer" (Name="Disc Usage Analyzer").

So i checked the /usr/share/applications/org.gnome.baobab.desktop file and see that "Name" without language code comes last which seems to make Xfce select it:
Name[da]="Diskforbrugsanalyse"
Name="Disc Usage Analyzer"

If the lines are reverced Xfce selects the [da] translation:
Name="Disc Usage Analyzer"
Name[da]="Diskforbrugsanalyse"
Comment 1 Simon Steinbeiss editbugs 2017-06-25 22:39:03 CEST
Re-assigning to garcon, as that is what the panel's applications menu is relying on (it doesn't do anything that would account for such an issue).
Comment 2 Thomas Lange 2018-05-31 23:12:49 CEST
Duplicate of https://bugzilla.xfce.org/show_bug.cgi?id=13979.
Comment 3 Andre Miranda editbugs 2018-06-08 04:52:22 CEST

*** This bug has been marked as a duplicate of bug 13979 ***

Bug #13683

Reported by:
scootergrisen
Reported on: 2017-06-24
Last modified on: 2018-06-08

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information