#35034: In some cases i18n set_language does not change url language
-------------------------------------+-------------------------------------
Reporter: Eric Soroos | Owner: nobody
Type: Bug | Status: closed
Component: | Version: 4.2
Internationalization |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Eric Soroos):
I don't think that this is a strict duplicate, since
`prefix_default_language` doesn't enter into the code path.
The issue is when the current language cookie and the current url are out
of sync. This comment:
https://code.djangoproject.com/ticket/28567#comment:14 does have the
essential issue though -- `translate_url` only only functions on urls from
the current language.
--
Ticket URL: <https://code.djangoproject.com/ticket/35034#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018c6792e2aa-ec40c1a3-aeba-4b4e-a274-2ba3aff4bb5b-000000%40eu-central-1.amazonses.com.