LOCALE_PATHS
Django searches for translation files in 3 places by default:
LOCALE_PATHS/(language)/LC_MESSAGES/django.(po|mo)
$APPPATH/locale/(language)/LC_MESSAGES/django.(po|mo)
$PYTHONPATH/django/conf/locale/(language)/LC_MESSAGES/django.(po|mo)
LOCALE_PATHS should only be used if your translation files are not in your application directories or on PYTHON_PATH.
LOCALE_PATHS example in settings.py
LOCALE_PATHS = ( '/home/www/project/conf/locale', # replace with correct path here )
MIDDLEWARE_CLASSES
Add django.middleware.locale.LocaleMiddleware
to MIDDLEWARE_CLASSES
in settings.py
LANGUAGES
LANGUAGES = ( ('fr', 'Franรงais'), )
source share