﻿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
21389	Some languages not accepted as valid HTTP Accept-Language	Bouke Haarsma	Bouke Haarsma	"In `get_language_from_request` there are [https://github.com/django/django/blob/master/django/utils/translation/trans_real.py#L499-L501 these lines]:

{{{
        normalized = locale.locale_alias.get(to_locale(accept_lang, True))
        if not normalized:
            continue
}}}

However, `fy_nl` is not in [http://svn.python.org/projects/python/trunk/Lib/locale.py `locale_alias`] (use search). Hence, the `fy`/`fy_nl` language code is rejected.
"	Bug	closed	Internationalization	dev	Normal	fixed		bouke@…	Accepted	1	0	0	0	0	0
