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 all the non-i18n bits of text that you have left to do.

Link to page: http://www.technomancy.org/python/django-template-i18n-lint/

It's a bit rigid at the moment, and works for our code base. It uses
regular expressions to 'parse' the HTML & Django templates, so it's not
100% perfect, there might be false positives, etc. etc. However I've
found it very useful for myself when working on our site and others
might find it useful

Rory

-- 
You received this message because you are subscribed to the Google Groups 
"Django internationalization and localization" group.
To post to this group, send email to django-i18n@googlegroups.com.
To unsubscribe from this group, send email to 
django-i18n+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-i18n?hl=en.

Reply via email to