diff --git a/settings.py b/settings.py index 7eb9ccc9b6..9e416969c8 100644 --- a/settings.py +++ b/settings.py @@ -64,9 +64,19 @@ TEMPLATE_LOADERS = ( MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.locale.LocaleMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', ) +TEMPLATE_CONTEXT_PROCESSORS = ( + 'django.core.context_processors.auth', + 'django.core.context_processors.debug', + 'django.core.context_processors.media', + 'django.core.context_processors.request', + + 'amo.context_processors.i18n', +) + ROOT_URLCONF = 'zamboni.urls' TEMPLATE_DIRS = (