mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Correctly support custom gettext output templates (#12645)
Co-authored-by: Jeremy Bowman <jmbowman@alum.mit.edu> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
@@ -119,6 +119,11 @@ section describe an easy way to translate with *sphinx-intl*.
|
||||
$ make gettext
|
||||
|
||||
The generated pot files will be placed in the ``_build/gettext`` directory.
|
||||
If you want to customize the output beyond what can be done via the
|
||||
:ref:`intl-options`, the
|
||||
:download:`default pot file template <../../../sphinx/templates/gettext/message.pot.jinja>`
|
||||
can be replaced by a custom :file:`message.pot.jinja` file placed in any
|
||||
directory listed in :confval:`templates_path`.
|
||||
|
||||
#. Generate po files.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user