Skip to content

amandasaurus/django-template-i18n-lint

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

About

Lint tool to find non-trans/blocktrans text in django templates

Resources

License

BSD-3-Clause, GPL-3.0 licenses found

Licenses found

BSD-3-Clause
LICENCE.BSD
GPL-3.0
LICENCE.GPLv3

Stars

Watchers

Forks

Packages

No packages published