Permalink
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/topics/i18n/localization.txt
View
6 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

0 comments on commit d77514e

Please sign in to comment.