Is there a way to achieve the following?
.rst
file where the translation in multiple languages coexist.html
files preferably).
rst2html
but other common tools are welcomed as wellUsecase I have in mind. In foo.rst
(I don't mean I want exactly tags like these):
..lang_en:
She likes spinach the best.
..lang_de:
Sie mag am besten Spinat.
Result would be, as I mentioned, either a single foo.html
, or a set of foo_en.html
and foo_de.html
.
I figured out by using sphinx-intl; it creates folders per language, and update the translations based on the change in the master file take a few steps (which requires careful operation), but I'm satisfied.
If you need a concrete example, in this project holds I'm maintaining English and Japanese renditions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With