- base language is English (
build/en
andsource/
) - translation example is given in German (
build/de
andlocale/de
) - add another language with:
./add-language.sh es
- translate in
locale/es/LC_MESSAGES/*.po
(fill correspondingmsgstr
fields)
- translate in
- build:
./build.sh
(recreates./build
!)- PDF:
./build.sh pdf
- PDF:
- sphinx
- Python packages:
pip install --user sphinx-book-theme myst-parser sphinx-intl rst2pdf
- https://github.com/jdknight/sphinx-i8n-myst-example
- https://github.com/ThoSe1990/SphinxExample
Public Domain.