python-django-localeurl

Django application allows the language be set in the url
  http://packages.python.org/django-localeurl/
  0
  no reviews



The localeurl django application allows you to specify the language of a page in the url. 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.