django-localeurl 1.1
A Django application that allow you to specify the language of a page in the URL.
Latest Version: 1.3
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.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| django-localeurl-1.1.tar.gz (md5) | Source | 2008-11-20 22:17:40 | 4KB | 57 | |
- Author: Joost Cassee <joost at cassee net>
- Home Page: http://code.google.com/p/django-localeurl/
- Download URL: http://code.google.com/p/django-localeurl/downloads/list
- Keywords: django i18n
- License: MIT License
- Platform: any
-
Categories
- 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 :: Application Frameworks
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: Software Development :: Localization
- Package Index Owner: jcassee
- DOAP record: django-localeurl-1.1.xml
