Skip to main content

Django i18n URL

Project description

Django i18n url lets you manage your multilingual url using Django. You can change the language and stay on the same page.

Getting Started

Install django-i18nurl:

pip install django-i18nurl

Add it to your INSTALLED_APPS settings:


Using it


Use it in Python code:

from i18nurl import reverse_i18n

url_de = reverse_i18n('app:home', 'de')

Django template

Use it as a templatetag:

{% load i18nurl %}
{% i18nurl 'app:home' 'de' %}

Get the current page in other languages:

{% load i18nurl %}
{% current_i18nurl 'de' %}

Note: to use current_i18nurl template tag you will need the request context processors:


Project details

Release history Release notifications

This version


Download files

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

Files for django-i18nurl, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-i18nurl-0.1.tar.gz (8.5 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