Go to file
Julien Palard be32b57407
Understanding directive content translations.
2023-02-08 15:49:42 +01:00
locale/fr/LC_MESSAGES Understanding directive content translations. 2023-02-08 15:49:42 +01:00
source Understanding directive content translations. 2023-02-08 15:49:42 +01:00
.gitignore Understanding directive content translations. 2023-02-08 15:49:42 +01:00
Makefile Understanding directive content translations. 2023-02-08 15:49:42 +01:00
README.md Understanding directive content translations. 2023-02-08 15:49:42 +01:00

README.md

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.