sympy/sympy — pull request #850 by certik (2011-12-16 22:34:16+00:00)
Title: Docs: use gettext for tutorial.txt

By default, `make html` only builds the English documentation in _build/html/.
If you want to build the translated tutorials, first build the English
documentation with 'make html' and then do:

make htmli18n

It will take a while (it'd be nice if somebody could figure out how to speed
this up) and eventually it will add tutorial.cs.html, tutorial.ru.html (and
more) into the _build/html/ directory. It will use the src/tutorial.txt
(English) as a base and use src/tutorial.cs.po (Czech), src/tutorial.ru.po
(Russian) and more to translate the tutorial and produces the translated
version (tutorial.cs.html) into the output directory.

When the English version changes, do:

make gettext

this will update the src/tutorial.pot template, that translators will use to
update the src/tutorial.cs.po files.

So far only 'tutorial.txt' is handled in this way.. This can be later extended
for more source files if ever needed.

Note: the cs and ru .po files are only stubs, they need to be fully translated.