From 232a30804446739602d883e87c3b809c4f99d282 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 19 Aug 2012 18:46:46 -0400 Subject: [PATCH] [1.4.X] Fixed #17180 - Emphasized the need to load the i18n template tag in each template that uses translations. Thanks stefan.freyr for the suggestion and buddylindsey for the draft patch. Backport of 514a0013cd from master --- docs/topics/i18n/translation.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 39f6e5ff49..fbed27d181 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -463,6 +463,9 @@ Internationalization: in template code Translations in :doc:`Django templates ` uses two template tags and a slightly different syntax than in Python code. To give your template access to these tags, put ``{% load i18n %}`` toward the top of your template. +As with all template tags, this tag needs to be loaded in all templates which +use translations, even those templates that extend from other templates which +have already loaded the ``i18n`` tag. .. templatetag:: trans