We actively use django-pipeline package and its builtin solution for javascript templates <https://django-pipeline.readthedocs.org/en/latest/templates.html>
The problems begins when we needed to use i18n in this templates, for ex.: <div> <%= gettext('To translate') %></div> Standart django makemessages misinterprets this type of files: python manage.py makemessages --domain=djangojs --all --extension=js,jst Translations not appeared in .po and command output: ./static/js/templates/events.jst.c:14: warning: unterminated string literal So the questions: - Does anybody know a clean solution for this? - Do we need to write custom processor for makemessages to handle this type of files (.jst)? Thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c7d65788-b2f1-4dbd-aeac-f767be2a73ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.