diff options
| author | Chris McDonough <chrism@plope.com> | 2013-03-13 15:13:37 -0700 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-03-13 15:13:37 -0700 |
| commit | 13e241b21770a2471d520aa21b27e20f98aaecb3 (patch) | |
| tree | 913c9bf716432b8a1cd8e0e5779196c757eea117 /docs/narr/i18n.rst | |
| parent | 6d62d124ee8ffd09459690e34aae95b43d0f2d53 (diff) | |
| parent | 919643eec1a480cee442331a966a9c6c90fb0965 (diff) | |
| download | pyramid-13e241b21770a2471d520aa21b27e20f98aaecb3.tar.gz pyramid-13e241b21770a2471d520aa21b27e20f98aaecb3.tar.bz2 pyramid-13e241b21770a2471d520aa21b27e20f98aaecb3.zip | |
Merge pull request #910 from tshepang/venv
consistency: use $VENV whenever virtualenv binaries are used
Diffstat (limited to 'docs/narr/i18n.rst')
| -rw-r--r-- | docs/narr/i18n.rst | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/docs/narr/i18n.rst b/docs/narr/i18n.rst index 24cd3ff54..74765f8e2 100644 --- a/docs/narr/i18n.rst +++ b/docs/narr/i18n.rst @@ -276,7 +276,7 @@ like so: .. code-block:: text $ cd /my/virtualenv - $ bin/easy_install Babel lingua + $ $VENV/bin/easy_install Babel lingua Installation on Windows +++++++++++++++++++++++ @@ -287,8 +287,7 @@ like so: .. code-block:: text - C> cd \my\virtualenv - C> Scripts\easy_install Babel lingua + C> %VENV%\Scripts\easy_install Babel lingua .. index:: single: Babel; message extractors @@ -347,7 +346,7 @@ extract the messages: $ cd /place/where/myapplication/setup.py/lives $ mkdir -p myapplication/locale - $ $myvenv/bin/python setup.py extract_messages + $ $VENV/bin/python setup.py extract_messages The message catalog ``.pot`` template will end up in: @@ -439,7 +438,7 @@ init_catalog`` command: .. code-block:: text $ cd /place/where/myapplication/setup.py/lives - $ $myvenv/bin/python setup.py init_catalog -l es + $ $VENV/bin/python setup.py init_catalog -l es By default, the message catalog ``.po`` file will end up in: @@ -471,7 +470,7 @@ Then use the ``setup.py update_catalog`` command. .. code-block:: text $ cd /place/where/myapplication/setup.py/lives - $ $myvenv/bin/python setup.py update_catalog + $ $VENV/bin/python setup.py update_catalog .. index:: pair: compiling; message catalog @@ -487,7 +486,7 @@ translations, compile ``.po`` files to ``.mo`` files: .. code-block:: text $ cd /place/where/myapplication/setup.py/lives - $ $myvenv/bin/python setup.py compile_catalog + $ $VENV/bin/python setup.py compile_catalog This will create a ``.mo`` file for each ``.po`` file in your application. As long as the :term:`translation directory` in which |
