I am trying to make my django application available in French (previously it was available only in English). I tagged a few lines in my translation application to try. I went to the root directory of my application (where the manage.py file is located) and ran django-admin.py makemessages -l fr_CA. This created the file django.poinside myapp/locale/fr_CA/LC_MESSAGES. I edited this file, providing translations. Returning to the root directory of the application, I started django-admin.py compilemessages -l fr_CA. The team returned quickly, without output to stdout. There is no file .mo.
Why doesn't this create a .mo file?
I tried to set my LOCALE_PATHS to my settings file, but it didn’t affect (and besides, I didn’t need to do this to create .po files, since they are in the default location path/to/myapp/locale) ..
source
share