Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

Thanks rene@ for the suggestion.
  • Loading branch information...
commit 231e31c690b020028940be76a1037297ba254ce0 1 parent 8759778
Tim Graham authored July 04, 2013

Showing 1 changed file with 5 additions and 3 deletions. Show diff stats Hide diff stats

  1. 8  docs/topics/i18n/translation.txt
8  docs/topics/i18n/translation.txt
@@ -1242,9 +1242,11 @@ The script should be run from one of two places:
1242 1242
 * The root directory of your Django app.
1243 1243
 
1244 1244
 The 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``.
  1245
+and pulls out all strings marked for translation (see
  1246
+:ref:`how-django-discovers-translations` and be sure :setting:`LOCALE_PATHS`
  1247
+is configured correctly). It creates (or updates) a message file in the
  1248
+directory ``locale/LANG/LC_MESSAGES``. In the ``de`` example, the file will be
  1249
+``locale/de/LC_MESSAGES/django.po``.
1248 1250
 
1249 1251
 By default :djadmin:`django-admin.py makemessages <makemessages>` examines every
1250 1252
 file that has the ``.html`` or ``.txt`` file extension. In case you want to

0 notes on commit 231e31c

Please sign in to comment.
Something went wrong with that request. Please try again.