Created attachment 125088 [details] [review]
I should have put a bit more of an explanation here, I guess.
gettext can extract strings from xml files and merge them back these days, but it needs descriptions of the xml format in the form of .its/.loc files. See
for some background.
The expectation is that modules install its files for their own formats (e.g. gtk installs one for the gtkbuilder .ui file format).
Thanks for the patch!
(Pushing to master blocked on bug#96942 .)