﻿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
22120	No documentation on how to explicitly set user language	Sasha Romijn	Sasha Romijn	"In some cases, it is desirable to set the language for a current session directly. For example, I have a project where the user's language preference is recorded in some API. `django.utils.translation.activate()` will only change this for the current thread. There is no documented way to modify the language for the entire session.

This is not at all difficult - simply setting `request.SESSION['_language']` suffices for most cases, or otherwise modifying the cookie. This is essentially what the `set_language()` view already does. In the interest of cleanliness, it would be best if we no longer hardcode the `_language` key for this, but define this somewhere."	New feature	closed	Translations	dev	Normal	fixed	nlsprint14	eromijn@…	Ready for checkin	1	0	0	0	0	0
