internationalizationqt5markdownweblate

i18n markdown on Weblate for qt project (.ts)


I maintain a Qt5 project, for which i18n .ts files are translated thanks to Weblate. The project has markdown user-documentation and I'd like to manage its translation using Weblate too. Is there a way to generate .ts files out of .md? (And then generate translated .md on build?) Otherwise, is there an other way to handle user-documentation i18n with Qt5?


Solution

  • You need to have translations in some of formats supported by Weblate. You can use po4a to extract text formats into Gettext PO for use in Weblate..