diff --git a/docs/middleware.txt b/docs/middleware.txt index 0d533443d3..533f1ccede 100644 --- a/docs/middleware.txt +++ b/docs/middleware.txt @@ -116,6 +116,14 @@ not use this middleware. Anybody can spoof the value of ``HTTP_X_FORWARDED_FOR``, that means anybody can "fake" their IP address. Only use this when you can absolutely trust the value of ``HTTP_X_FORWARDED_FOR``. +django.middleware.locale.LocaleMiddleware +----------------------------------------- + +Enables language selection based on data from the request. It customizes content +for each user. See the `internationalization documentation`_. + +.. _`internationalization documentation`: ../i18n/ + django.contrib.sessions.middleware.SessionMiddleware ----------------------------------------------------