Child pages
  • Internationalization and localization

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3


Strings in python modules and HTML templates must be marked
in order to be translated to different languages. Please refer
to the excelleng Django's internationalization reference
for details.


In order to perform translation to specific language (ru in example) create the language file:

Code Block
/opt/noc# ./scripts/makemessages ru

Resulting language file will be placed into locale/_ru_/LC_MESSAGES/django.po

Edit the message file and compile it:

Code Block
/opt/noc# python compilemessages

Commit django.po and resulting to the repo.

To refresh message file also use:

Code Block
/opt/noc# ./scripts/makemessages ru