Hello, I was thinking of implementing a little command line tool that would show you all lines where a string is NOT marked for translation in all .html files. This just means stripping html tags, and removing django template tags, before outputing the remaining strings and the line number. I was thinking of using Beautiful Soup to do this.
This is something I would often find useful, since when I am writing templates, I often forget to mark some strings for tanslation (typically, the titles). Does somebody know of some existing implementation of this idea ? I would like to avoid to spend some time on this, if it already exists (but some quick googling did not give any result). The idea could maybe be applied on .py files too, but that seems more difficult (how to differentiate strings that are identifiers in a dictionnary for example, from strings needing translation ?). If it works correctly, this could maybe be added to Django, but at first, I was thinking to do this in a plugable app. What would be the best place to do this ? -- You received this message because you are subscribed to the Google Groups "Django I18N" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-i18n?hl=en.
