diff --git a/docs/faq/index.rst b/docs/faq/index.rst index ca09f16be6..1916656f09 100644 --- a/docs/faq/index.rst +++ b/docs/faq/index.rst @@ -212,5 +212,14 @@ http://stackoverflow.com/questions/6493985/django-auth-ldap A the moment no, but it is something being considered. +**Q: How to set the default language and have users not be able to change it? +Add the following to ``settings_local.py``::: + LANGUAGE_CODE = 'es' + + MIDDLEWARE_CLASSES = ( + + -- Copy all the classes from MIDDLEWARE_CLASSES in ``settings.py`` except for 'django.middleware.locale.LocaleMiddleware' + + )