IntelliJ IDEA 2023.2 Help

Create message files

IntelliJ IDEA stores locales in the language-related subdirectories of the locale directory. For creating locales, run the makemessages task of the manage.py utility.

Create a message file

  1. Go to Tools | Run manage.py task.

  2. In the manage.py task window, enter makemessages --locale <locale name > and press Enter.

    Repeat this step for each locale you want to create.

    If there are strings marked for localization, IntelliJ IDEA will produce a directory and django.po file for each locale:

    Using manage.py to create locales

    If there are no such strings, only an empty directory structure is created.

Last modified: 07 September 2023