Changes between Initial Version and Version 1 of Ticket #35034


Ignore:
Timestamp:
Dec 13, 2023, 10:39:55 AM (5 months ago)
Author:
Eric Soroos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35034 – Description

    initial v1  
    88`django.urls.translate_urls` attempts to resolve the url using the current request language (in this case, en) and fails, because the url is in a different language (km).
    99
    10 i18n.set_language then returns the original referrer in the location header of the redirect, and the language doesn't apparently change, confusing the user.
     10`i18n.set_language` then returns the original referrer in the location header of the redirect, and the language doesn't apparently change, confusing the user.
    1111
    1212The patch for `translate_urls` is approximately:
     
    4141...
    4242}}}
     43
     44https://github.com/django/django/compare/main...EricSoroos:django:35034-translate-url
Back to Top