sphinx-directive-i18n/README.md

565 B
Raw Permalink Blame History

Update pot file

make gettext

Update po file from pot file

msgmerge --update locale/fr/LC_MESSAGES/index.po build/gettext/index.pot

Build in english

make html

Build in french

make html SPHINXOPTS="-D locale_dirs=$(pwd)/locale -D language=fr"

In english it yields

availability

Availability: Unix, not Emscripten, not WASI.

Hello world Im the content of the “availability” directive.

While in French the content of the directive is lost

disponibilité

Disponibilité: Unix, mais pas Emscripten, ni WASI.