Browse Source

Adapt language to what the browser asks for

Baptiste Jonglez 8 years ago
parent
commit
56faf92149
1 changed files with 1 additions and 0 deletions
  1. 1 0
      celutz/settings.py

+ 1 - 0
celutz/settings.py

@@ -43,6 +43,7 @@ INSTALLED_APPS = (
 
 MIDDLEWARE_CLASSES = (
     'django.contrib.sessions.middleware.SessionMiddleware',
+    'django.middleware.locale.LocaleMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.middleware.csrf.CsrfViewMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',