#25920: django.contrib.humanize filters are not well localized for en_IN
----------------------------------+--------------------
     Reporter:  dbinoj            |      Owner:  nobody
         Type:  Bug               |     Status:  new
    Component:  contrib.humanize  |    Version:  1.9
     Severity:  Normal            |   Keywords:  en-IN
 Triage Stage:  Unreviewed        |  Has patch:  0
Easy pickings:  0                 |      UI/UX:  0
----------------------------------+--------------------
 When using 'en-IN' as locale (listed as valid in
 http://www.i18nguy.com/unicode/language-identifiers.html) 100000.00 should
 look like 1,00,000.00 after using intcomma. Instead 100,000.00 is
 displayed.

 Works as expected in locale package as below (with en_IN installed, of
 course):
 {{{
 In [1]: import locale

 In [2]: locale.setlocale(locale.LC_ALL, 'en_IN')
 Out[2]: 'en_IN'

 In [3]: locale.format("%.2f", 100000.00, grouping=True)
 Out[3]: '1,00,000.00'
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25920>
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/049.a7460a386098bcba87d9a1214e003d6b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to