summaryrefslogtreecommitdiff
path: root/docs/narr/i18n.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-04-29 23:56:34 +0000
committerChris McDonough <chrism@agendaless.com>2010-04-29 23:56:34 +0000
commit15a6d9c2bb145a2f67cb6213f89e6e9c899a719b (patch)
tree45cf1abc0118813be99c979381aadf741abf194d /docs/narr/i18n.rst
parent7a3c22a7dcb688a637a6b9a0a317cf46f4d07af2 (diff)
downloadpyramid-15a6d9c2bb145a2f67cb6213f89e6e9c899a719b.tar.gz
pyramid-15a6d9c2bb145a2f67cb6213f89e6e9c899a719b.tar.bz2
pyramid-15a6d9c2bb145a2f67cb6213f89e6e9c899a719b.zip
Wording.
Diffstat (limited to 'docs/narr/i18n.rst')
-rw-r--r--docs/narr/i18n.rst14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/narr/i18n.rst b/docs/narr/i18n.rst
index 0e1d99b9e..26d162862 100644
--- a/docs/narr/i18n.rst
+++ b/docs/narr/i18n.rst
@@ -294,15 +294,17 @@ install Babel like so:
Changing the ``setup.py``
+++++++++++++++++++++++++
-You need some "hair" to your application's ``setup.py`` file (see
-:ref:`project_narr` for information about the composition of an
-application's ``setup.py`` file) in order to properly generate
-:term:`gettext` files from your application.
+You need a to add a few boilerplate lines to your application's
+``setup.py`` file in order to properly generate :term:`gettext` files
+from your application.
-In particular, add the ``Babel`` distribution to your application's
+.. note:: See :ref:`project_narr` to learn about about the
+ composition of an application's ``setup.py`` file.
+
+In particular, add the ``Babel`` distribution to the
``install_requires`` list and insert a set of references to
:term:`Babel` *message extractors* within the call to
-:func:`setuptools.setup`:
+:func:`setuptools.setup` inside your application's ``setup.py`` file:
.. code-block:: python
:linenos: