summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexey Torkhov <atorkhov@gmail.com>2014-07-15 12:35:13 +0400
committerAlexey Torkhov <atorkhov@gmail.com>2014-07-15 12:35:13 +0400
commit4fcbd9e5351bb7ec417cb10ba89dc3af2a6ef9a7 (patch)
tree53487ca0da24e8f131e139d78f6ba16d261de719 /docs
parent0020dc00f7d3584678a05cf9ae2279bbaf288e71 (diff)
downloadpyramid-4fcbd9e5351bb7ec417cb10ba89dc3af2a6ef9a7.tar.gz
pyramid-4fcbd9e5351bb7ec417cb10ba89dc3af2a6ef9a7.tar.bz2
pyramid-4fcbd9e5351bb7ec417cb10ba89dc3af2a6ef9a7.zip
Update i18n.rst
msgfmt produces 'messages.mo' file in current dir by default, it needs -o to specify destination. Also, added ref to adding a translation directory.
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/i18n.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/i18n.rst b/docs/narr/i18n.rst
index cb2cd049c..6bfbc5136 100644
--- a/docs/narr/i18n.rst
+++ b/docs/narr/i18n.rst
@@ -402,11 +402,11 @@ command from Gettext:
.. code-block:: text
$ cd /place/where/myapplication/setup.py/lives
- $ msgfmt myapplication/locale/*/LC_MESSAGES/*.po
+ $ msgfmt -o myapplication/locale/es/LC_MESSAGES/myapplication.mo myapplication/locale/es/LC_MESSAGES/myapplication.po
This will create a ``.mo`` file for each ``.po`` file in your
application. As long as the :term:`translation directory` in which
-the ``.mo`` file ends up in is configured into your application, these
+the ``.mo`` file ends up in is configured into your application (see :ref:`adding_a_translation_directory`), these
translations will be available to :app:`Pyramid`.
.. index::