Hi.

In my project i use i18n_patterns to prepend language code to every
url. There are two languages available: en, ru.
I want to create a link on every page to the same page but in
different language. For example, there should be link to
/ru/spam/eggs/ from /en/spam/eggs/.
In other words, I need to change the language prefix of current
request path in a template.
Can it be done with url template tag?

I found an example in the docs, that shows how to make urls to a
particular view in all available languages, but i don't know what the
path to view is, because i'm placing this link in a base template.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to