[docs] [issue25907] Documentation i18n: Added trans tags in sphinx templates

Julien report at bugs.python.org
Thu Jan 21 05:05:18 EST 2016


Julien added the comment:

That's also the actual syntax used by existing Sphinx templates:

    mandark at windhowl$ grep -r '{% trans'  ~/.local/lib/python3.4/site-packages/sphinx_rtd_theme/
    footer.html:        {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
    footer.html:        {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}
    ...
    ...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25907>
_______________________________________


More information about the docs mailing list