From 8219eabbba6e8f6d8569792615935011b5cf0771 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 20 Mar 2015 12:06:32 -0400 Subject: [PATCH] Fixed #24503 -- Added docs on LANGUAGE_CODE fallback change in 1.8. Thanks Pakal and Claude. --- docs/ref/settings.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 497f321531..5bf53ca76d 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1522,8 +1522,14 @@ It serves two purposes: * If the locale middleware isn't in use, it decides which translation is served to all users. -* If the locale middleware is active, it provides the fallback translation when - no translation exist for a given literal to the user's preferred language. +* If the locale middleware is active, it provides a fallback language in case the + user's preferred language can't be determined or is not supported by the Web + site. It also provides the fallback translation when a translation for a + given literal doesn't exist for the user's preferred language. + +.. versionchanged:: 1.8 + + The fallback for translation literals was added. See :ref:`how-django-discovers-language-preference` for more details.