Lines Matching refs:trans
8 ``trans``.
12 You need to register this extension before using the ``trans`` block::
39 Use the ``trans`` block to mark parts in the template as translatable:
43 {% trans "Hello World!" %}
45 {% trans string_var %}
47 {% trans %}
55 {% trans %}
63 ``{% trans "Hello {{ name }}!" %}`` is not a valid statement.
72 {% trans %}
80 {% trans %}
94 {% trans %}
105 Within an expression or in a tag, you can use the ``trans`` filter to translate
110 {{ var|default(default_value|trans) }}
115 Translations can be done with both the ``trans`` tag and the ``trans`` filter.
124 {% trans %}
132 {{ var|default(default_value|trans) }}