1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used.

Regression in 94e7f471c4.

This reverts commit 94e7f471c4
(refs #34069) and
partly reverts commit 3b4728310a.

Thanks Anthony Baillard for the report.

Co-Authored-By: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
This commit is contained in:
Mariusz Felisiak
2023-04-28 08:05:43 +02:00
parent 191f6a9a45
commit 0e444e84f8
10 changed files with 53 additions and 48 deletions

View File

@@ -248,10 +248,6 @@ Internationalization
* Added support and translations for the Central Kurdish (Sorani) language.
* The :class:`~django.middleware.locale.LocaleMiddleware` now respects a
language from the request when :func:`~django.conf.urls.i18n.i18n_patterns`
is used with the ``prefix_default_language`` argument set to ``False``.
Logging
~~~~~~~