[Bug 1763471] Re: dh_translations should handle AppStream metadata also

Gunnar Hjalmarsson 1763471 at bugs.launchpad.net
Fri Apr 13 14:41:42 UTC 2018


I added the Swedish translation of "Software & Updates" to software-
properties.mo manually.

$ echo $(gettext -d software-properties 'Software & Updates')
Program & uppdateringar

The name of the app is still shown in English for me in Ubuntu Software.
Also tried to replace <name> in /usr/share/metainfo/software-properties-
gtk.appdata.xml with <name gettext-domain "software-properties">, as is
done in .policy files, but it didn't help.

Do we have the mechanism in place to make use of .mo files at runtime to
translate strings in such files?

-- 
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