- Open the desired Django template for editing, and select strings to be marked for translation.
- Press Alt+EnterAlt+Enter, or click the light bulb to reveal the list of available intention actions:

- Select intention action Wrap with 'trans' tag, and press EnterEnter. PyCharm wraps selected text in translation tags, and adds {% load i18n %}, if extracting text is performed for the first time.

