PyCharm 2026.3 Help

Compile message files

Enable the Django plugin

This functionality relies on the Django plugin, which is bundled and enabled in PyCharm by default. If the relevant features are not available, make sure that you did not disable the plugin.

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. Find the Django plugin and click Enable.

For compiling locales, run the compilemessages task of the manage.py utility.

Compile a message file

  1. In the main menu, go to Tools | Run manage.py task, or press Ctrl+Alt+R.

  2. In the Enter manage.py task name dialog, select compilemessages, and press Enter.

    django.mo files are produced for each locale.

    message compilation
17 June 2024