Some launchers are not translated and Control Center displays them in english

Bug #1592723 reported by Brice Terzaghi on 2016-06-15
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-mate
Undecided
Unassigned

Bug Description

Using Ubuntu Mate 16.04. I think the issue appeared with Mate 1.12 (Ubuntu Mate 16.04 but also updating Mate in 15.10 through a PPA).

Some Mate applications .desktop files are translated, they have a Name[xx] and Comment[xx] line (where xx corresponds to several language). Some only have a generic english name.

As a result, the Mate Control Center displays them in english on non-english systems (mine is in french). But they're translated in the system menus and I noticed that they include an X-Ubuntu-Gettext-Domain option which, I assume, is used to fetch the translation there from somewhere.

I'm not sure if putting the translations in the .desktop files is the old way to do it while using a Gettext-domain would be the new correct one, or if these are only a matter of taste but this results in a messy situation. Basically, Mate should do the following:
- either put the missing translations in the .desktop files
- or patch Mate Control Center so that it can fetch them from the correct place rather than rely on the Name option
- (or both, to cover all cases)

The desktop files that I've seen to be part of the issue (no Name[xx]) are the following. They don't all have a Gettext domain:
- /usr/share/applications/network.desktop
- /usr/share/applications/system-config-printer.desktop
- /usr/share/mate/applications/software-properties-gtk.desktop
- /usr/share/applications/ubuntu-mate-software.desktop
- /usr/share/applications/update-manager.desktop
- /usr/share/applications/usb-creator-gtk.desktop
- /usr/share/applications/time.desktop
- /usr/share/applications/users.desktop
- /usr/share/applications/synaptic.desktop (I don't remember if it's part of a regular Mate)
- /usr/share/applications/software-properties-drivers.desktop
- /usr/share/applications/blueman-adapters.desktop
- /usr/share/applications/blueman-manager.desktop
- /usr/share/applications/org.gnome.DiskUtility.desktop
- /usr/share/applications/gufw.desktop
- /usr/share/applications/nm-connection-editor.desktop
- /usr/share/applications/deja-dup-preferences.desktop
- /usr/share/mate/applications/language-selector.desktop
- /usr/share/applications/onboard-settings.desktop

For some reason, two of them are in /usr/share/mate/applications but they're also in /usr/share/applications. Mate Control Center seem to use the one from the mate subfolder.

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

Other bug subscribers