python - Django internationalization (i18n) lint checker? Tell me what hasn't been _()'ed or {% trans %}'ed -


i have internationalize (i18n) django project. it's combined of many in house django apps. partially i18n'ed already, i.e. of strings _(), bare. of templates use {% blocktrans %} or {% trans %}, english text in there direct. take lot of manual work me change this. oh well.

is there way see strings in python code , text in html templates hasn't been passed through _()/{% trans %}? 'i18n lint' checker? command that'll print out line & filename of strings haven't been _()'ed yet, or aren't in {% trans %} i'm ok throwing false positives (& false negatives), want way make sure haven't missed anything.

i couldn't find this, had make own.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -