1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #34069 -- Made LocaleMiddleware respect language from requests when i18n patterns are used.

This commit is contained in:
Sergio
2022-10-02 13:59:13 +03:00
committed by Mariusz Felisiak
parent 004f985b91
commit 94e7f471c4
5 changed files with 43 additions and 23 deletions

View File

@@ -186,6 +186,10 @@ 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
~~~~~~~