Permalink
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (11 sloc) 471 Bytes
.. index:: tag; translate

translate

Translate a text value using gettext.

Translate the text contained in the tag into the currently selected language.

Example:

{_ translate me _}

If the active language is “nl” then this will output “vertaal mij”. Of course depending on the available translations.

If a translation is not available then the text is output as-is without any translation.

.. seealso:: :ref:`tag-trans_ext`.