Changes between Version 2 and Version 3 of Ticket #25920, comment 2
- Timestamp:
- Dec 11, 2015, 9:59:12 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25920, comment 2
v2 v3 1 1 There is a complication in adding en_IN. Number grouping in en_IN is not grouped on 'n' number of digits. First 3 (ones, tens and hundreds) are grouped as a single group and the remaining digits are grouped as 2 digits per group. This can be achieved with a NUMBER_GROUPING setting. So I don't think this can be fixed by adding a locale. I'm happy to help with a PR for the locale though, if there is a way to solve this problem. 2 3 Should format method in django.utils.numberformat be modified so that it accepts grouping also as a string and we can give GROUPING=3;2 in locale file? That is how grouping for en_IN is listed in http://lh.2xlibre.net/locale/en_IN/