I'm using i18n on Django to make my website multilingual.
I've recently changed my templates' extensions from html to djhtml, so that Emacs will do syntax highlighting, but after this change, python manage.py makemessages
doesn't find the djhtml files (or doesn't consider them as templates) and doesn't create the entries on my django.po file for the translations in them. It even comments out translations that I previously had on html files.
If I make an exact copy of the djhtml file in the same folder, but with a html extension, then it works normally.
The same thing happens with djt as well.
How to I configure i18n to consider djhtml and djt files as templates as well?