Django Template I18n Lint

screenshot of Django Template I18n Lint

Django Template I18n Lint

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

Overview

The Django Template i18n lint is a simple script designed to find non-i18n (internationalization) text in a Django template. It can also automatically wrap the strings in {% trans "" %} tags. This script is useful for developers who want to ensure that all text in their Django templates can be easily translated into different languages.

Features

  • Find non-i18n text in a Django template
  • Automatically wrap strings in {% trans "" %} tags
  • Generate a translated version of the template