﻿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
27449	Make django.utils.translation.trans_real.get_supported_language_variant public API	Iacopo Spalletti	Sebastian Sangervasi	"How about making django.utils.translation.trans_real.get_supported_language_variant part of the public API?

A use case for this: Check if a given language is within the ones listed in LANGUAGES, including the sublanguages, as stated in https://docs.djangoproject.com/en/1.10/topics/i18n/translation/:

    This example restricts languages that are available for automatic selection to German and English (and any sublanguage, like de-ch or en-us).

Example: https://github.com/django-parler/django-parler/issues/156

Making this public will involve:

* Adding documentation
* Exposing it in `django.utils.translation`"	New feature	closed	Internationalization	1.10	Normal	fixed			Ready for checkin	1	0	0	0	1	0
