Re: Script to find all non-i18n parts of a django template

2011-03-06 Thread Venkatraman S
On Mon, Mar 7, 2011 at 3:30 AM, Rory McCann wrote: > Link to page: > http://www.technomancy.org/python/django-template-i18n-lint/ > Good stuff. I was planning to write one, but would rather use this ;) IF we make this stuff 'really' good (i mean, handling all false positives etc), then am sure t

Script to find all non-i18n parts of a django template

2011-03-06 Thread Rory McCann
Hi all, I'm in the middle of internationalizing an existing Django site. That basically means adding trans/blocktrans tags to all our templates. It's a bit of a pain! :P Also I'm likely to miss some string somewhere. So I wrote a python programme that'll search through a template and print out al