Find untranslated strings in HTML templates

后端 未结 2 1878
说谎
说谎 2021-01-06 10:04

Is there way to find untranslated strings in the HTML templates of my Django application i.e. blocks of text that are not wrapped in trans and blocktrans<

2条回答
  •  一个人的身影
    2021-01-06 10:41

    You can use the builtin template parser to parse your templates, and recurse into all tags that are not instances of BlockTransTag

提交回复
热议问题