[Bug 1763471] Re: dh_translations should handle AppStream metadata also
Gunnar Hjalmarsson
1763471 at bugs.launchpad.net
Sun Apr 15 01:06:19 UTC 2018
So the info in the appdata file is passed to DEP-11, Ubuntu Software
fetches already localized strings from the latter, and there is a time
factor. Did I get that (approximately) right?
That would explain why all my efforts to make Ubuntu Software show
something different when running under a Swedish locale failed. The
summary is shown in Swedish for me too, but the name and description are
in English. That does not change whatever I do to manipulate software-
properties.mo and/or /usr/share/metainfo/software-properties-
gtk.appdata.xml. (I even edited the English description, and that didn't
make a difference either.)
But if that is how it works, is it at all possible to apply translations
from .mo files at runtime?
What you want to achieve sounds highly desirable to me. But it would be
nice if we could confirm somehow that it will work without inline
translations before we let dh_translations strip them.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkgbinarymangler in Ubuntu.
https://bugs.launchpad.net/bugs/1763471
Title:
dh_translations should handle AppStream metadata also
Status in pkgbinarymangler package in Ubuntu:
New
Bug description:
I had to add AppStream metadata to software-properties and update-
manager so that we could mark these two packages as unremovable in the
Ubuntu/GNOME Software app.
AppStream metadata is translatable but I suspect that we don't really
have a system for the Launchpad translations to be made available to
Ubuntu users.
The metadata are .xml files stored in /usr/share/metainfo/ (or the
legacy /usr/share/appdata/ )
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkgbinarymangler/+bug/1763471/+subscriptions
More information about the foundations-bugs
mailing list