[1.5.x] Amended explanation of LOCALE_PATHS setting.

Thanks Daniele Procida for the patch.

37abad73d6 from master.
This commit is contained in:
Daniele Procida 2012-12-03 15:46:48 +00:00 committed by Ramiro Morales
parent 6a098aa6f2
commit a8045c3af2
1 changed files with 2 additions and 3 deletions

View File

@ -1242,9 +1242,8 @@ Example::
'/var/local/translations/locale'
)
Note that in the paths you add to the value of this setting, if you have the
typical ``/path/to/locale/xx/LC_MESSAGES`` hierarchy, you should use the path to
the ``locale`` directory (i.e. ``'/path/to/locale'``).
Django will look within each of these paths for the ``<locale_code>/LC_MESSAGES``
directories containing the actual translation files.
.. setting:: LOGGING