mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Fix #1921: Support figure substitutions by locale
This commit is contained in:
+9
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user