PyCharm 2016.3 Help

Creating Message Files

This feature is supported in Professional edition only.

PyCharm stores locales in the language-related subdirectories of the locale directory. For creating locales, run the makemessages task of the utility.

To create a message file

  1. On the main menu, choose Tools | Run task, or press Ctrl+Alt+R.
  2. In the 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, PyCharm will produce a directory and django.po file for each locale:


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

See Also

Language and Framework-Specific Guidelines:

Last modified: 23 December 2016