在HTML模板中查找未翻译的字符串 [英] Find untranslated strings in HTML templates
问题描述
trans
和 blocktrans
标签。 由于我们有很多模板,手动执行这个过程非常耗时,而且如果没有一个选项,我想这是一个漫长而繁琐的方式。
谢谢
最近发现,但还没有尝试过。
文件: http://www.technomancy.org/python/django-template-i18n-lint/
代码: https://github.com/rory/django- template-i18n-lint
看起来它一年没有更新,但可能会提供一个很好的起点。
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
tags.
Since we have many templates, it would be a very time-consuming process to go through them manually and check but if there isn't an option, I guess it has to be done the long and tedious way.
Thanks
Found this recently, but have not tried it yet.
Doc: http://www.technomancy.org/python/django-template-i18n-lint/
Code: https://github.com/rory/django-template-i18n-lint
Looks like it hasn't been updated in a year but it might provide a good starting spot.
这篇关于在HTML模板中查找未翻译的字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!