﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11585	i18n in urls.py	digi604	Jannis Leidel	"Because search engines not only search in english we normally ""translate"" the urls as well to get higher pageranks in the sites languages.
This is very cumbersome at the moment with django.

example:

en: /contact/
de: /kontakt/
it: /contatto/

they all point to the same view.

it would be nice to have a i18n_url() that would resolve based on the current language.


{{{
i18n_url({'de':r'^kontakt/', 'en':r'^contact/', 'it':r'^contatto/'}, contact, name=""contact""}
}}}


it would be nice to be able to tell reverse() and {% url %} which language to resolve.


{{{
{% url contact de %}

reverse('contact', language=""de"")
}}}

If no language is defined it should take the current one from get_language()





"	New feature	closed	Internationalization	dev	Normal	fixed		patrick.lauber@… osirius@… jonas.obrist@… info@…	Accepted	1	0	0	0	0	0
