#24478: Icelandic thousand separator not working without number grouping value
--------------------------------------+-------------------------------
Reporter: saevarom | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.7
Severity: Normal | Keywords: l10n localization
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 1 | UI/UX: 0
--------------------------------------+-------------------------------
The USE_THOUSAND_SEPARATOR setting is not working when format localizing
Icelandic numbers.
A properly formatted number in Icelandic should be: 1.000.000,0 - however
- when using the `localize` template tag to format numbers, no thousand
separators appear. This is due to the fact that in
django/utils/numberformat.py no grouping occurs unless there is a non-zero
value for the NUMBER_GROUPING variable in the active locale.
This patch sets a default value for NUMBER_GROUPING = 3 to enable properly
formatting of Icelandic numbers.
--
Ticket URL: <https://code.djangoproject.com/ticket/24478>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.80d118696747d7102ec98d919a797c1d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.