From c796fc7e3630fcbc273d288609ab3cdbeda602a1 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sun, 9 May 2010 13:55:15 +0000 Subject: Fixed #13317 - Clarified documentation about how the blocktrans and trans template tags work with regard to variables. Thanks for the initial patch, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13184 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/templates/builtins.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 5f04c3d5e1..24c0af5699 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2071,3 +2071,12 @@ django.contrib.webdesign A collection of template tags that can be useful while designing a website, such as a generator of Lorem Ipsum text. See :ref:`ref-contrib-webdesign`. + +i18n +~~~~ + +Provides a couple of templatetags that allow specifying translatable text in +Django templates. It is slightly different from the libraries described +above because you don't need to add any application to the ``INSTALLED_APPS`` +setting but rather set :setting:`USE_I18N` to True, then loading it with +``{% load i18n %}``. See :ref:`specifying-translation-strings-in-template-code`. -- cgit v1.3