mirror of
https://github.com/zulip/zulip.git
synced 2025-10-28 18:43:52 +00:00
Support for saving it in the session is dropped in django3, the cookie is the mechanism that needs to be used. The relevant i18n code doesn't have access to the response objects and thus needs to delegate setting the cookie to LocaleMiddleware. Fixes the LocaleMiddleware point of #16030.