Template Tags
=============
django-i18ntools provides some useful template tags and filters when dealing
with internationalized URLs in templates.
.. currentmodule:: i18ntools.templatetags
Tags
----
.. function:: i18nurl(language_code, view, *args **kwargs)
Allows you to reverse a URL in a specific language. For example, if you
wanted to link to the website in a different language, you could do this.
.. code-block:: html+django
Welcome
Bienvenido
欢迎
Filters
-------
.. function:: url_for_language(url, language_code)
This is a template interface to the
:func:`i18ntools.utils.url_for_language` function.
You could use this to show links to the current page in a different
language for example.
.. code-block:: html+django
español