Fix #1921: Support figure substitutions by locale

This commit is contained in:
Takeshi KOMIYA
2016-02-22 21:32:05 +09:00
parent 46138ca605
commit 1f5aa28db0
13 changed files with 325 additions and 27 deletions
+9 -3
View File
@@ -417,12 +417,18 @@ documentation on :ref:`intl` for details.
The code for the language the docs are written in. Any text automatically
generated by Sphinx will be in that language. Also, Sphinx will try to
substitute individual paragraphs from your documents with the translation
sets obtained from :confval:`locale_dirs`. In the LaTeX builder, a suitable
language will be selected as an option for the *Babel* package. Default is
``None``, which means that no translation will be done.
sets obtained from :confval:`locale_dirs`. Sphinx will search
language-specific figures named by `figure_language_filename` and substitute
them for original figures. In the LaTeX builder, a suitable language will
be selected as an option for the *Babel* package. Default is ``None``,
which means that no translation will be done.
.. versionadded:: 0.5
.. versionchanged:: 1.4
Support figure substitution
Currently supported languages by Sphinx are:
* ``bn`` -- Bengali