PyCharm provides a dedicated intention action to wrap strings in Django templates in {%trans%}, or {%blocktrans%} tags.

The lines with i18n tags are marked with py_i18n_icon icon in the gutter.

See Also

Procedures:

External Links:

Web Resources: