diff options
| author | Jannis Leidel <jannis@leidel.info> | 2010-05-09 13:57:03 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2010-05-09 13:57:03 +0000 |
| commit | 4a97875f6bfb2a56c2cf4eb3a304eedbc0bcd571 (patch) | |
| tree | ba418dcf903131c8613dab07c60025f661708405 /docs/ref | |
| parent | 9fb195fc67214fdaa39475a60a3ba96fb2a031bc (diff) | |
[1.1.X] Fixed #13317 - Clarified documentation about how the blocktrans and trans template tags work with regard to variables. Thanks for the initial patch, Ramiro Morales.
Backport from trunk, r13184.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index e6caae5939..4bf055aa0e 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1848,3 +1848,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`. |
