Skip to main content

Additions to Django's i18n module.

Project description

django-i18next - Additions to Django’s i18n module.


  • Django 1.4, 1.5, 1.6, 1.7, 1.8
  • Python >= 2.6.8, >= 2.7, >= 3.3


See the TODOS for the full list of planned-, pending- in-development- or to-be-implemented features.


  1. Install latest stable version from PyPI:
$ pip install django-i18next

Or latest stable version from GitHub:

$ pip install -e git+

Or latest stable version from BitBucket:

$ pip install -e hg+
  1. Add i18next to INSTALLED_APPS of the your projects’ Django settings.
    # ...

    # Other project specific apps
    'foo', # Test app
    # ...


Override locale

No matter what your current locale is, you can override it for a certain part of your template using the overridelocale template tag.

{% load i18n i18next %}

{% overridelocale 'en' %}
        <a href="/login/">{% trans "Log in" %}</a>
{% endoverridelocale %}

Disable translations

No matter what your current locale is, you can disable translations for a certain part of your template using the disabletranslations template tag.

{% load i18n i18next %}

{% disabletranslations %}
        <a href="/login/">{% trans "Log in" %}</a>
{% enddisabletranslations %}


Live demo

See the live demo app on Heroku.

Run demo locally

In order to be able to quickly evaluate the django-i18next, a demo app (with a quick installer) has been created (works on Ubuntu/Debian, may work on other Linux systems as well, although not guaranteed). Follow the instructions below for having the demo running within a minute.

Grab the latest

$ wget

Assign execute rights to the installer and run the

$ chmod +x
$ ./

Open your browser and test the app.

If quick installer doesn’t work for you, see the manual steps on running the example project.


By default debugging is turned off. Set the I18NEXT_DEBUG to True in the of your project in order to do so.


GPL 2.0/LGPL 2.1


For any issues contact me at the e-mail given in the Author section.


Artur Barseghyan <>

Project details

Download files

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

Files for django-i18next, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_i18next-0.1-py2.py3-none-any.whl (11.3 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django-i18next-0.1.tar.gz (24.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page