问题
I'm writing a project documentation in Sphinx. I want to make translations of my .rst
files, and I generated and translated .po
files. Sphinx generates html
translations fine, but I want to have .rst
or markdown full articles (to use them on another site).
How can I recreate .rst
or markdown files with translations from these .po
(or .mo
) files?
Sphinx, gettext or Python solutions will suit. I tried to find information about that, but most answers concern translation of a string, not of a complete article.
来源:https://stackoverflow.com/questions/61246851/how-to-make-translations-of-full-articles-from-po-files-in-sphinx-or-gettext