Created
December 3, 2012 15:42
-
-
Save evildmp/4195808 to your computer and use it in GitHub Desktop.
LOCALE_PATHS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. setting:: LOCALE_PATHS | |
LOCALE_PATHS | |
------------ | |
Default: ``()`` (Empty tuple) | |
A tuple of directories where Django looks for translation files. | |
See :ref:`how-django-discovers-translations`. | |
Example:: | |
LOCALE_PATHS = ( | |
'/home/www/project/common_files/locale', | |
'/var/local/translations/locale' | |
) | |
Django will look within each of these paths for the ``<locale_code>/LC_MESSAGES`` | |
directories containing the actual translation files. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment