From 5868a8f656c25055b6ee71b98fa3a4e03559696f Mon Sep 17 00:00:00 2001 From: Javier Eduardo Rojas Romero Date: Thu, 12 Jan 2017 13:37:14 -0500 Subject: [PATCH] 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 --- doc/intl.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/intl.rst b/doc/intl.rst index 005b03601..97f0e013e 100644 --- a/doc/intl.rst +++ b/doc/intl.rst @@ -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: