diff options
| author | Tim Graham <timograham@gmail.com> | 2013-07-04 05:44:22 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-07-04 05:44:22 -0400 |
| commit | 231e31c690b020028940be76a1037297ba254ce0 (patch) | |
| tree | d74028a2f5b4c3da3d5e46589b887127c7a1a9fc /docs | |
| parent | 8759778185d0539bf9c11e3fda497a9486b9acab (diff) | |
Fixed #20690 -- Mentioned LOCALE_PATHS earlier in translation docs.
Thanks rene@ for the suggestion.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/translation.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index ce6697908f..80925d7648 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -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 |
