1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

Fixed #5750 -- Documented LOCALE_PATHS setting, with a link to the internationalization documentation. Thanks, jdetaeye and SmileyChris.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2007-10-19 03:18:15 +00:00
parent 409ba6038d
commit 433cbba512

View File

@ -578,6 +578,15 @@ strings for translation, but the translation won't happen at runtime -- so
you'll have to remember to wrap the languages in the *real* ``gettext()`` in you'll have to remember to wrap the languages in the *real* ``gettext()`` in
any code that uses ``LANGUAGES`` at runtime. any code that uses ``LANGUAGES`` at runtime.
LOCALE_PATHS
------------
A list of directories where Django looks for translation files.
See the `internationalization docs section`_ explaining the variable and the
default behavior.
.. _internationalization docs section: ../i18n/#using-translations-in-your-own-projects
LOGIN_REDIRECT_URL LOGIN_REDIRECT_URL
------------------ ------------------