Procedure for generating translations
- Define the default language in your
settings.py. - All your strings should be in the default language.
- Optional: Define available languages by adding the
LANGUAGESsetting if you want.
For a Django app
- Create
localedirectory in your Django app. Django won't create it by itself. - Check your app is registered in
INSTALLED_APPS. makemessages -l <language>