﻿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
14240	filesizeformat should localize number	David Danier <david.danier@…>	anonymous	"Currently filesizeformat always displays file size in english number formating. But as we now have formats.number_format() I think this should be used. Possible example:

{{{
In [1]: from django.template.defaultfilters import filesizeformat

In [2]: filesizeformat(100)
Out[2]: u'100 bytes'

In [3]: filesizeformat(1000)
Out[3]: u'1000 bytes'

In [4]: filesizeformat(2000)
Out[4]: u'1.9 KB'

In [5]: filesizeformat(15000)
Out[5]: u'14.6 KB'

In [6]: from django.utils import translation

In [7]: translation.activate('de')

In [8]: filesizeformat(15000)
Out[8]: u'14,6 KB'

In [9]: filesizeformat(1500000)
Out[9]: u'1,4 MB'

In [10]: filesizeformat(1500000000)
Out[10]: u'1,3 GB'

In [11]: filesizeformat(1500000000000)
Out[11]: u'1,3 TB'
}}}

Patch follows."		closed	Template system	1.2		fixed	blocker		Accepted	1	0	0	0	0	0
