Skip to main content

A small library which adds "translate" and "blocktranslate" templatetags as and modified makemessages to work with them.

Project description

A small library which adds “translate” and “blocktranslate” template tags and modifies makemessages to work with them.

  • Free software: BSD 3-Clause License


pip install django-translation-aliases

Add django_translation_aliases to your INSTALLED_APPS:


This will add the translate and blocktranslate template tags to the i18n library so that you can use them in your templates:

{% load i18n %}
{% translate "This message" %}
{% blocktranslate trimmer %}
    Another message
{% endblocktranslate %}


To run the all tests run:


Note, to combine the coverage data from all the tox environments run:

set PYTEST_ADDOPTS=--cov-append
PYTEST_ADDOPTS=--cov-append tox


0.0.0 (2019-06-22)

  • First release on PyPI.

Download files

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

Files for django-translation-aliases, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django-translation-aliases-0.1.0.tar.gz (26.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page