﻿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
28567	Incompatibility between the set_language() view, LocaleMiddleware, and i18n_patterns() when prefix_default_language=False.	George Tantiras		"Using python 3.4.

In a fresh Django 1.11 install, I configured 2 languages: English (default Language) and Greek.

When I implemented the example [https://docs.djangoproject.com/en/dev/topics/i18n/translation/#the-set-language-redirect-view HTML template code] to add a change language drop down in admin, everything worked as expected if `prefix_default_language=True`

However, the following configuration in urls.py although it works when I change from English to Greek, it will stay to the Greek page when I try to change from Greek to English:

{{{
clean = [
    url(r'^i18n/', include('django.conf.urls.i18n')),
]

admin = i18n_patterns(
    url(r'^admin/', admin.site.urls),
    prefix_default_language=False
)


urlpatterns = admin + clean
}}}"	Bug	new	Internationalization	dev	Normal			Claude Paroz	Accepted	0	0	0	0	0	0
