mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
corrected output directory for .pot files
Sphinx's `make gettext` always creates the .pot files in $BUILD_DIR/gettext, regardless of the paths configured in `locale_dirs`; those only affect sphinx-intl's operation
This commit is contained in:
parent
a11218151f
commit
5868a8f656
@ -94,14 +94,14 @@ This section describe a easy way to translate with sphinx-intl.
|
||||
|
||||
$ make gettext
|
||||
|
||||
As a result, many pot files are generated under ``_build/locale``
|
||||
As a result, many pot files are generated under ``_build/gettext``
|
||||
directory.
|
||||
|
||||
#. Setup/Update your `locale_dir`:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ sphinx-intl update -p _build/locale -l de -l ja
|
||||
$ sphinx-intl update -p _build/gettext -l de -l ja
|
||||
|
||||
Done. You got these directories that contain po files:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user