A pylint plugin to find strings that haven't been passed through _/ugettext

2011-03-31 Thread Rory McCann
Hi all, After my last tool to find untranslated strings in templates ( http://www.technomancy.org/python/django-template-i18n-lint/ ), I've created a plug-in for pylint that will look at all the strings in your python code and find the ones that probably should be in _/ugettext and provide a warni

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