Child pages
  • Internationalization and localization
Skip to end of metadata
Go to start of metadata

I18N

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.

L10N

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

/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:

/opt/noc# python manage.py compilemessages

Commit django.po and resulting django.mo to the repo.

To refresh message file also use:

/opt/noc# ./scripts/makemessages ru
  • No labels