Skip to content

Internationalization

Vililassi Ala-Tuuhonen edited this page Jun 7, 2016 · 1 revision

Translation of text

Translations in Django

Django translation docs

Update or create localization file
  1. Generate messages from source files for fi language. The -i "env" ignores env folder.

    django-admin.py makemessages -l fi -i "env"

  2. Make translations using rosetta.

  3. Generate the .po files.

    django-admin.py compilemessages

Translating models

django-modeltranslation

Use the admin user interface.