Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Adds i18n markup to jinja2 and handlebars templates.

Project Description

A tool to automatically add i18n markup to jinja2 and handlebars
templates. It may also work for django, though this is not tested.

This is part of a process to make a non-i18n-aware jinja2 or
handlebars file i18n-aware. i18n-ness support is mostly a matter of
marking natural-language text in the file that needs to be translated.
While some complicated natural language constructs (like plurals)
require a bit more work, the simple case is very simple: replace

<p>Hello <b>world</b></p>


<p>{{ _("Hello <b>world</b>") }}</p>

This script helps with that process.

i18nize_templates <file> ...
i18nize_templates [--handlebars] < <infile> > <outfile>
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
i18nize_templates-0.1dev_20131011-py2.7.egg (38.5 kB) Copy SHA256 Checksum SHA256 2.7 Egg Oct 12, 2013
i18nize_templates-0.1dev-20131011.tar.gz (49.2 kB) Copy SHA256 Checksum SHA256 Source Oct 12, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting