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

Extract blocks of text from Django templates

Last modified: 11 February 2024

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 icon in the gutter.