﻿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
31795	Allow overriding regional subtags convertion to lowercase	Théo Chevalier	nobody	"Hi,

Our organization uses IETF BCP 47 locale codes with ISO 3166 regional subtags (e.g. `en-US`), and unfortunately `to_language()` converts the regional subtag to lowercase, `en-us`. This doesn’t work with our localization toolchain, and we’ve noticed we have [https://github.com/mozilla/donate-wagtail/blob/master/donate/core/__init__.py#L9-L22 hacky code] in each of our Django-based project to make it work.

Would it be possible to allow overriding that logic in a cleaner way?

Thanks!"	New feature	closed	Internationalization	dev	Normal	wontfix		Claude Paroz	Unreviewed	0	0	0	0	0	0
