diff --git a/docs/topics/i18n/localization.txt b/docs/topics/i18n/localization.txt index 932a2c0dfc..4215201f35 100644 --- a/docs/topics/i18n/localization.txt +++ b/docs/topics/i18n/localization.txt @@ -355,6 +355,8 @@ This tag allows a more fine grained control of localization than To activate or deactivate localization for a template block, use:: + {% load l10n %} + {% localize on %} {{ value }} {% endlocalize %} @@ -385,6 +387,8 @@ Forces localization of a single value. For example:: + {% load l10n %} + {{ value|localize }} To disable localization on a single value, use :tfilter:`unlocalize`. To control @@ -403,6 +407,8 @@ Forces a single value to be printed without localization. For example:: + {% load l10n %} + {{ value|unlocalize }} To force localization of a single value, use :tfilter:`localize`. To