﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33668	i18n set_language not working in Safari	yopiti	James Beard	"Trying to implement a session / cookie based translation selector. 

This code correctly sets the language in Chrome (100) & Firefox (99.0.1), but not in Safari (15.4). 


{{{
{% load i18n %}

<form action=""{% url 'set_language' %}"" method=""post"">{% csrf_token %}
    <input name=""next"" type=""hidden"" value=""{{ redirect_to }}"" />
    <select name=""language"">
        {% get_current_language as LANGUAGE_CODE %}
        {% get_available_languages as LANGUAGES %}
        {% get_language_info_list for LANGUAGES as languages %}
        {% for language in languages %}
            <option value=""{{ language.code }}""{% if language.code == LANGUAGE_CODE %} selected=""selected""{% endif %}>
                {{ language.name_local }} ({{ language.code }})
            </option>
        {% endfor %}
    </select>
    <input type=""submit"" value=""Go"" />
</form>

}}}

Request is made, its redirected to /i18n/setlang/ and back to the original page, but not switching language. "	Bug	closed	Internationalization	4.0	Normal	needsinfo		Carlton Gibson	Accepted	0	0	0	0	0	0
