Translating WMDE's attribution generator
Appearance
Fragment of a discussion from Support/LiquidThreads
Well, the idea of all this was to make the re-import as easy as possible.
There are tools that can be integrated in the build process to extract Gettet pot files (maybe json as well, I haven't researched) and rebuild the translated html files.
One idea is to forgo having the html files as primary format and use some templating system or static file generator system to generate the html files from the json files. Something like this would be easy to write for a programmer as well.
Alternatively you could write a FileFormatSupport class for your HTML format, but I am afraid it wouldn't be very re-usable and would have maintenance costs.