django-localeurl 2.0.2

A Django application that allow you to specify the language of a page in the URL.

The localeurl Django application allows you to specify the language of a page in the URL.

Suppose you have a Django website in multiple languages. Using localeurl, without modifying your URLconfs, you can have URLs like this: http://www.example.com/nl/company/profile. Any URLs without a language prefix will be redirected to add the prefix for the default language (or, optionally, the language preferred in the user's browser settings).

Some reasons for using localeurl:

  • Search engines will index all languages.
  • Every page should have a unique URL. If you feel that different languages means different pages, then each language should get its own unique URL.
  • If you don't set the language via the URL, setting the language for the website should be done using a POST request (because it influences subsequent page views, see Django ticket #3651). You might prefer a simple link for changing the language, and localeurl allows this.

You can install localeurl with pip:

pip install django-localeurl

or install the in-development version:

pip install django-localeurl==dev

See the full documentation.

MIT License

Author

Carl Meyer

Pip

django-localeurl==2.0.2

Classifiers

  • Development Status :: 5 - Production/Stable
  • Environment :: Web Environment
  • Framework :: Django
  • Intended Audience :: Developers
  • License :: OSI Approved :: MIT License
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Software Development :: Libraries :: Application Frameworks
  • Topic :: Software Development :: Localization
File Type Python Version Uploaded On Downloads
django-localeurl-2.0.2.tar.gz Source Jan. 26, 2015 2,605
Version Release Date
2.0.2 Jan. 26, 2015
2.0.1 Sept. 19, 2013
2.0 Sept. 19, 2013
1.5 Aug. 24, 2011
1.4 March 19, 2010
1.3 April 6, 2009
1.2 Nov. 26, 2008
1.1 Nov. 20, 2008
1.0 Sept. 10, 2008
Date Package Version Action
Aug. 26, 2015, 12:15 a.m. django-localeurl 1.1 Release Created
Aug. 26, 2015, 12:15 a.m. django-localeurl 2.0 Release Created
Aug. 26, 2015, 12:15 a.m. django-localeurl 1.2 Release Created
Aug. 26, 2015, 12:15 a.m. django-localeurl 1.3 Release Created
Aug. 26, 2015, 12:15 a.m. django-localeurl 2.0.1 Release Created
Aug. 26, 2015, 12:15 a.m. django-localeurl 2.0.2 Release Created
Aug. 26, 2015, 12:15 a.m. django-localeurl 1.0 Release Created
Aug. 26, 2015, 12:15 a.m. django-localeurl 1.5 Release Created
Aug. 26, 2015, 12:15 a.m. django-localeurl 1.4 Release Created
Aug. 26, 2015, 12:15 a.m. django-localeurl Package Created