﻿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
17753	Internationalizing URL Patterns Redirect should be 404	James Addison	Jannis Leidel	"Consider the following settings:

{{{#!python
USE_I18N = True

LANGUAGES = (
    ('en', gettext('English')),
    ('fr', gettext('French')),
)
}}}

with url patterns as follows:

{{{#!python
urlpatterns = i18n_patterns('',
    url(r'^$', 'core.views.index', name='index'),
)
}}}

Assuming my system/browser is is set with the en-us locale, if I browse to example.com/ it will redirect to example.com/en/ as expected.  If I browse to example.com/en/ or example.com/fr/ it will display the page with no redirects, again as expected.  '''''If I browse to example.com/de/ it redirects to example.com/en/de/''''' - not what I would expect or want.

I believe it should a) simply issue a 404 OR b) possibly issue a 404 by default but allow the user to override this behaviour via a setting to substitute a custom view.  The latter would allow developers to have a ""this page is not available in this language"" along with some custom logic gather user feedback - this might be overreaching for where 1.4 is in the release cycle."	Bug	new	Internationalization	1.4-beta-1	Normal		url patterns, internationalization		Accepted	0	0	0	0	0	0
