Research how to isolate the [[!meta directives that need translation in PO files
From this thread on tails-l10n: http://lists.autistici.org/message/20181118.155100.286e6cc2.en.html
Translators have a hard time (and make mistakes) when translating big blobs of ‘[[!meta’ directives in a single PO string.
This only happens on HTML files, like /install.html:
And not on Markdown files, like /news/version_3.11.mdwn:
We are using the following ‘[[!meta’ directives:
- All over the place
- In very rare occasions
From these, it only makes sense to translate the ‘title’ directives.
The rest are actually harmful to translate, so ideally they shouldn’t even appear in PO files. For example, translators sometimes translate dates.
How can we make these easier to translate and less error prone?
* Wrapping ‘title’ into a ’
’ seems to work remarkably well. See commit in attachment.
- Is it realistic to patch ikiwiki/PO plugin/po4a/whoever to skip other directives? If we do this, then we would also solve the problem of isolating ‘title’ directives because they would be the only ones left.
- Any other option?