Document gettext builder and create i18n docs.

This commit is contained in:
Robert Lehmann 2010-06-26 12:38:06 +02:00
parent 10fc7cd73b
commit b14658199f
3 changed files with 24 additions and 0 deletions

View File

@ -220,6 +220,18 @@ Note that a direct PDF builder using ReportLab is available in `rst2pdf
.. versionadded:: 0.5
.. module:: sphinx.builders.intl
.. class:: MessageCatalogBuilder
This builder produces a message catalog file for each reST file or
subdirectory.
See the documentation on :ref:`internationalization <intl>` for further reference.
Its name is ``gettext``.
.. versionadded:: 1.XXX
.. module:: sphinx.builders.changes
.. class:: ChangesBuilder

View File

@ -14,6 +14,7 @@ Sphinx documentation contents
domains
builders
config
intl
theming
templating
extensions

11
doc/intl.rst Normal file
View File

@ -0,0 +1,11 @@
.. _intl:
Internationalization
====================
.. versionadded:: 1.XXX
Complementary to translations provided for internal messages such as navigation
bars Sphinx provides mechanisms facilitating *document* translations in itself.
It relies on the existing configuration values :confval:`language` and
:confval:`locale_dirs`.