Skip to content

Commit

Permalink
Fixed #20690 -- Mentioned LOCALE_PATHS earlier in translation docs.
Browse files Browse the repository at this point in the history
Thanks rene@ for the suggestion.
  • Loading branch information
timgraham committed Jul 4, 2013
1 parent 8759778 commit 231e31c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/topics/i18n/translation.txt
Expand Up @@ -1242,9 +1242,11 @@ The script should be run from one of two places:
* The root directory of your Django app.

The script runs over your project source tree or your application source tree
and pulls out all strings marked for translation. It creates (or updates) a
message file in the directory ``locale/LANG/LC_MESSAGES``. In the ``de``
example, the file will be ``locale/de/LC_MESSAGES/django.po``.
and pulls out all strings marked for translation (see
:ref:`how-django-discovers-translations` and be sure :setting:`LOCALE_PATHS`
is configured correctly). It creates (or updates) a message file in the
directory ``locale/LANG/LC_MESSAGES``. In the ``de`` example, the file will be
``locale/de/LC_MESSAGES/django.po``.

By default :djadmin:`django-admin.py makemessages <makemessages>` examines every
file that has the ``.html`` or ``.txt`` file extension. In case you want to
Expand Down

0 comments on commit 231e31c

Please sign in to comment.