[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#572638: RFP: python-django-localeurl -- allow transparently specifying the language of a page



Package: wnpp
Severity: wishlist

Package name    : python-django-localeurl
Version         : 1.3
Upstream Author : Joost Cassee <joost@cassee.net>
URL             : http://bitbucket.org/carljm/django-localeurl/
License         : MIT
Programming Lang: Python
Description     : allow transparently specifying the language of a page

From the web page:

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

Suppose you have a Django website in multiple languages. The localeurl
application allow you to specify the language of a page in the URL,
like so: http://www.example.com/nl/company/profile. Any URLs without
language prefix will be redirected to add the prefix for the default
language.

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.
 * 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 not want to use POST requests.




Reply to: