Creating Message Files
PyCharm stores locales in the language-related subdirectories of the
For creating locales, run the
makemessages task of the
To create a message file
- On the main menu, choose
, or press N/A.
- In the Enter manage.py task name dialog box, select
makemessages, and press Shift+Enter.
- In the manage.py makemessages dialog box that opens, type
-l <locale name >:
Repeat this step for each locale you want to create.
If there are strings marked for localization, PyCharm will produce a directory and
django.pofile for each locale:
If there are no such strings, only an empty directory structure is created.