﻿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
14101	Localized DecimalField doesn't accept localized input	dfoerster	nobody	"I'm having trouble with a localized form field not accepting localized input. The form is defined like this:

{{{
class XyForm(forms.ModelForm):
	def __init__(self, *args, **kwargs):
		super(XyForm,self).__init__(*args,**kwargs)
		self.fields['betrag'].localize = True
}}}

USE_L10N is set to true and LANGUAGE_CODE to de-de. However, entering a number with a comma as a decimal separator triggers a validation error. (Enter a number.) I tried to dig into this and found, that from a python shell started with manage.py the get_language() function from  utils.translation returns 'en-us' instead of the configured 'de-de'.
"		closed	Internationalization	1.2		worksforme	localize	michelts@… charette.s@… aledr	Unreviewed	0	0	0	0	0	0
