summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-09-16 03:17:48 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-09-16 03:17:48 +0000
commit8ccf2028c20054151b20248b9dc525bf78618fbc (patch)
tree7ac99e20b0a7ceafe4849126d9cd389d1268a71e /docs
parentae75958820e344357ea716fcdbd5e56f06a00b24 (diff)
Fixed #3955 -- Added the ability to traverse LOCALE_PATHS when compiling PO files. Thanks, semenov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/i18n.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/i18n.txt b/docs/i18n.txt
index cffc58011e..bf73c88008 100644
--- a/docs/i18n.txt
+++ b/docs/i18n.txt
@@ -669,8 +669,11 @@ To create message files, you use the same ``make-messages.py`` tool as with the
Django message files. You only need to be in the right place -- in the directory
where either the ``conf/locale`` (in case of the source tree) or the ``locale/``
(in case of app messages or project messages) directory are located. And you
-use the same ``compile-messages.py`` to produce the binary ``django.mo`` files that
-are used by ``gettext``.
+use the same ``compile-messages.py`` to produce the binary ``django.mo`` files
+that are used by ``gettext``.
+
+You can also run ``compile-message.py --settings=path.to.settings`` to make
+the compiler process all the directories in your ``LOCALE_PATHS`` setting.
Application message files are a bit complicated to discover -- they need the
``LocaleMiddleware``. If you don't use the middleware, only the Django message