Kaydet (Commit) 231e31c6 authored tarafından Tim Graham's avatar Tim Graham

Fixed #20690 -- Mentioned LOCALE_PATHS earlier in translation docs.

Thanks rene@ for the suggestion.
üst 87597781
...@@ -1242,9 +1242,11 @@ The script should be run from one of two places: ...@@ -1242,9 +1242,11 @@ The script should be run from one of two places:
* The root directory of your Django app. * The root directory of your Django app.
The script runs over your project source tree or your application source tree 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 and pulls out all strings marked for translation (see
message file in the directory ``locale/LANG/LC_MESSAGES``. In the ``de`` :ref:`how-django-discovers-translations` and be sure :setting:`LOCALE_PATHS`
example, the file will be ``locale/de/LC_MESSAGES/django.po``. 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 By default :djadmin:`django-admin.py makemessages <makemessages>` examines every
file that has the ``.html`` or ``.txt`` file extension. In case you want to file that has the ``.html`` or ``.txt`` file extension. In case you want to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment