PyCharm
 
Get PyCharm

Extract blocks of text from Django templates

Last modified: 17 June 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.