﻿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
32581	to_locale should be idempotent	Claude Paroz	Claude Paroz	"In summary:
{{{
>>> from django.utils.translation import to_locale
>>> to_locale('en-us')
'en_US'  # <- Fine
>>> to_locale(to_locale('en-us'))
'en_us'  # <- Bad
}}}

Typically, this breaks using e.g. `django.utils.translation.override` with a locale code like `pt_BR` or `zh_Hans`. of course, we could document that override takes a language code, not a locale code, but if we can support both without much effort, this would be a lot better."	Cleanup/optimization	closed	Internationalization	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
