Translating .desktop files with X-Ubuntu-Gettext-Domain fails for click apps
Bug #1441320 reported by
Alberto Mardegan
on 2015-04-07
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-
| Zygmunt Krynicki (zyga) wrote : | #2 |
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 : | #3 |
(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.


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.