IntelliJ IDEA 2018.1 Help

Creating Message Files

This feature is only supported in the Ultimate edition.

The following is only valid when Python Plugin is installed and enabled!

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.

To create a message file

  1. On the main menu, choose Tools | Run manage.py task, or press N/A.
  2. In the manage.py task window, enter makemessages, type --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:

    py localeFolders

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

Last modified: 7 February 2018

See Also

Language and Framework-Specific Guidelines: