[Fixed]-Django makemessages not creating newly added languages

26👍

You need to specify the languages you are interested in the first time at the command line.

python manage.py makemessages -l th -l tl -l vi

After that, subsequent calls with --all flag will generate PO files for all languages.

0👍

You should run the command below. *The command below can create or update one or more django.po:

django-admin makemessages --locale=th --locale=tl --locale=vi

Or:

django-admin makemessages -l th -l tl -l vi

Actually, the command below can only update all django.po but cannot create django.po:

django-admin makemessages --all

Or:

django-admin makemessages -a

Leave a comment