GNOME Bugzilla – Bug 788134
Plugins metadata in GNOME Software is not translated
Last modified: 2019-03-23 20:34:25 UTC
Created attachment 360356 [details] Screenshot of the issue Plugins names and descriptions in gnome-software are not translated. gedit-plugins-3.22.0-4.fc27
Created attachment 360618 [details] [review] Fix translation of plugins metainfo It's not translated because INTLTOOL_XML_NOMERGE_RULE is used, but the metainfo files require that the translations be merged into them. So switch to normal INTLTOOL_XML_RULE. Now, gedit-plugins was relying on INTLTOOL_XML_NOMERGE_RULE for its GSettings translation support. This is pointless as intltool has had GSettings support since 2012. Rely on it. This avoids the problem that you can't use both the merge rule and the nomerge rule in the same Makefile.am. gedit-plugins should really not be using intltool at all anymore. It's obsolete. Switching is not hard, but I'm not going to fix that today.
I've also stopped substituting gedit-plugins for @GETTEXT_DOMAIN@ using a configure replacement... that's a lot of extra complexity for not very much benefit. So we can go from .gschema.xml.in.in to simple .gschema.xml.
Comment on attachment 360618 [details] [review] Fix translation of plugins metainfo I tested the patch and now AppData files include translations. Pushed as a8cfb02a87c3bd634152b9b944f41d186d582b3b. Thank you so much!