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

Extract blocks of text from Django templates

Last modified: 10 August 2022

IntelliJ IDEA 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.