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
- Django: admin interface: how to change user password
- Django @csrf_exempt not working in class View
- Django Aggregate- Division with Zero Values
- Combine prefetch_related and annotate in Django
- In django, how to limit choices of a foreignfield based on another field in the same model?
Source:stackexchange.com