Hi guys, I'm doing a site in english and portuguese and a cool thing I'm using is translated urls. The only problem is that changing the language through django.views.i18n.set_language fails because it try to redirect to the HTTP_REFERER and I didn't see how to set the proper next value so the set_language won't fail.
I propose to create a new GET parameter called "reverse" that causes the set_language view to first try to resolve the url present in the "next" GET parameter than reverse it to the proper language. That keeps the backward compatibilty: to enable it, coders must add the "reverse" GET parameter. I can send a patch if you agree. Best regards, -- Michel Sabchuk -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/ppgfZbzXItsJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
