Skip to content
Lint tool to find non-trans/blocktrans text in django templates
Python VimL
Latest commit bdab5bc Mar 21, 2015 @rory Merge pull request #19 from fmr/fix/replace_error
Fix error in replace_strings function
Failed to load latest commit information.
vim-helpers.vim better vim programme name Jun 19, 2014

Django Template i18n lint

Build Status Coverage Status PyPI version PyPI Downloads

A simple script to find non-i18n text in a Django template.

It can also automatically wrap the strings in {% trans "" %} tags, by running it with the -r command-line flag. The translation will be written to a new file, <filename>_translated.html.

For more info see Lint tool to find non-i18n strings in a django template

Code is copyright Rory McCann 2013, and dual licenced under the GNU GPL version3 (or at your option a later version), and the BSD licence. See the files LICENCE.GPLv3 and LICENCE.BSD for more information

Bitdeli Badge

Something went wrong with that request. Please try again.