PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Extract blocks of text from Django templates

Last modified: 26 August 2021

Available only in PyCharm Professional: download to try or compare editions

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.