From 7915cbb360afd363bf94b31aa42b32387c302dea Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Mon, 18 May 2015 18:38:47 +0200 Subject: [PATCH] [1.8.x] Fixed #24739 -- Documented translation fallback change Refs #24503. Backport of 1046c8afec from master. --- docs/releases/1.8.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index b553e56ff4..5dee5671a9 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -1159,6 +1159,10 @@ Miscellaneous * :func:`django.utils.translation.get_language()` now returns ``None`` instead of :setting:`LANGUAGE_CODE` when translations are temporarily deactivated. +* When a translation doesn't exist for a specific literal, the fallback is now + taken from the :setting:`LANGUAGE_CODE` language (instead of from the + untranslated ``msgid`` message). + * The ``name`` field of :class:`django.contrib.contenttypes.models.ContentType` has been removed by a migration and replaced by a property. That means it's not possible to query or filter a ``ContentType`` by this field any longer.