Translating .desktop files with X-Ubuntu-Gettext-Domain fails for click apps

Bug #1441320 reported by Alberto Mardegan on 2015-04-07
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qtmir (Ubuntu)
Undecided
Unassigned

Bug Description

System applications can have their .desktop file translated using gettext and the X-Ubuntu-Gettext-Domain fields. However, for some reason this doesn't work if the application is shipped in a click package.

Michał Sawicz (saviq) wrote :

The problem is that there isn't a generic path where catalogs are installed through a .click package. Some of them have a share/locale folder, others have appname/locale... We'd need Click to recommend a path that QtMir could use to find the right catalogs.

Until that happens, the solution is to use the intltool-merge to build the translations into the .desktop file itself.

Changed in qtmir:
status: New → Opinion
Zygmunt Krynicki (zyga) wrote :

Hey.

Just my +0.02 PLN but I think we should recommend, early on, where gettext translations should be stored. I think it's essential to get i18n right early on and we have a simple opportunity to do so.

Zygmunt Krynicki (zyga) wrote :

(And since I wrote the X-Gettext-Domain patch, I kind of want to see this done for click/snappy)

Michał Sawicz (saviq) on 2017-03-13
affects: qtmir → qtmir (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers