Skip to content

Instantly share code, notes, and snippets.

@evildmp
Created December 3, 2012 15:42
Show Gist options
  • Save evildmp/4195808 to your computer and use it in GitHub Desktop.
Save evildmp/4195808 to your computer and use it in GitHub Desktop.
LOCALE_PATHS
.. 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