#23299: Add some interoperability to _() function calls parsing in templatize function. --------------------------------------+-------------------- Reporter: niwibe | Owner: nobody Type: New feature | Status: new Component: Internationalization | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 1 Easy pickings: 0 | UI/UX: 0 --------------------------------------+-------------------- The current implementation only works for django and works very well. But for make easy use another template engine like jinja2 and combine it with django i18n makemessages process, would be awesome include some support for more generic parsing of _() function calls.
The change is very small, it uses findall instead of match, that allows finding inner _() function calls that are very common in jinja2 templates (and not in django templates): https://github.com/niwibe/django/compare/interoprability-jinja-django- i18n-parse -- Ticket URL: <https://code.djangoproject.com/ticket/23299> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/049.32a9d0837fbd30d5381ada19a3012b8d%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.