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

Julien report at bugs.python.org
Sat Dec 19 09:06:30 EST 2015


Julien added the comment:

For emacs users, this `query-replace-regex` comes handy to add trans tags around strings, if one want to apply them to another file / version:

>\([^>^J]*[a-zA-z][^>^J]*\)< -> >{% trans %}\1{% endtrans %}

Note that ^J is obtained typing C-q C-j.

----------

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


More information about the docs mailing list