Ticket #20690: 20690.diff

File 20690.diff, 1.1 KB (added by Tim Graham, 11 years ago)
  • docs/topics/i18n/translation.txt

    diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt
    index ce66979..80925d7 100644
    a b The script should be run from one of two places:  
    12421242* The root directory of your Django app.
    12431243
    12441244The script runs over your project source tree or your application source tree
    1245 and pulls out all strings marked for translation. It creates (or updates) a
    1246 message file in the directory ``locale/LANG/LC_MESSAGES``. In the ``de``
    1247 example, the file will be ``locale/de/LC_MESSAGES/django.po``.
     1245and pulls out all strings marked for translation (see
     1246:ref:`how-django-discovers-translations` and be sure :setting:`LOCALE_PATHS`
     1247is configured correctly). It creates (or updates) a message file in the
     1248directory ``locale/LANG/LC_MESSAGES``. In the ``de`` example, the file will be
     1249``locale/de/LC_MESSAGES/django.po``.
    12481250
    12491251By default :djadmin:`django-admin.py makemessages <makemessages>` examines every
    12501252file that has the ``.html`` or ``.txt`` file extension. In case you want to
Back to Top