GNOME Bugzilla – Bug 709260
Make Appdata translatable
Last modified: 2013-10-05 19:13:50 UTC
Created attachment 256258 [details] [review] AppData file translatable Patch to make Appdata translatable
Review of attachment 256258 [details] [review]: Same concerns here as in the Chess and Brasero patches: * you need to rename the versioned .appdata.xml file to .appdata.xml.in * the .appdata.xml.in file needs to be distributed (and the generated .appdata.xml should not be) * POTFILES.in needs to list the .appdata.xml.in file (not the .appdata.xml) * @INTLTOOL_XML_NOMERGE_RULE@ needs to be replaced with @INTLTOOL_XML_RULE@ so that the translations get merged into the installed .appdata.xml (otherwise you may be able to translate them, but the translations don't get used anywhere) I'm concerned that there are similar patches submitted to a bunch of other modules, not only by you (I really do appreciate that you're trying to help!), which need to be fixed before maintainers who don't notice these things commit them. Here's two sample commits: 1) Remove existing use of @INTLTOOL_XML_NOMERGE_RULE@ if present (obsolete way of translating gsettings): https://git.gnome.org/browse/iagno/commit/?id=365a0be08bc0f6257d01752c7567b8fbb48ea017 2) Mark the appdata for translation: https://git.gnome.org/browse/iagno/commit/?id=427f18cc73c9a7acd4fa0f3ae16edb645bbaf1e4
Actually it looks like nearly every module is distributing the generated .appdata.xml instead of the .appdata.xml.in. That doesn't work. :/
Created attachment 256547 [details] [review] appdata: mark for translation