Re: [Django] #25920: django.contrib.humanize filters are not well localized for en_IN

2015-12-11 Thread Django
#25920: django.contrib.humanize filters are not well localized for en_IN
--+
 Reporter:  dbinoj|Owner:  nobody
 Type:  New feature   |   Status:  new
Component:  contrib.humanize  |  Version:  1.9
 Severity:  Normal|   Resolution:
 Keywords:  en-IN | Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by claudep):

 * type:  Bug => New feature
 * stage:  Unreviewed => Accepted


Comment:

 Confirmed, Django doesn't support this sort of grouping yet.

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.bfda46c607ef41d4cf1bb0f4f1478e48%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25920: django.contrib.humanize filters are not well localized for en_IN

2015-12-11 Thread Django
#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|   Resolution:
 Keywords:  en-IN | Triage Stage:  Unreviewed
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by dbinoj):

 * status:  closed => new
 * resolution:  invalid =>


Comment:

 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.

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.545a84ace8883bac5c29ba142f0e9a8c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25920: django.contrib.humanize filters are not well localized for en_IN

2015-12-11 Thread Django
#25920: django.contrib.humanize filters are not well localized for en_IN
--+--
 Reporter:  dbinoj|Owner:  nobody
 Type:  Bug   |   Status:  closed
Component:  contrib.humanize  |  Version:  1.9
 Severity:  Normal|   Resolution:  invalid
 Keywords:  en-IN | Triage Stage:  Unreviewed
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+--
Changes (by timgraham):

 * status:  new => closed
 * needs_better_patch:   => 0
 * resolution:   => invalid
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 I think the solution here is to add formats for the `en_IN` locale (like
 ff2e0896a3f7b566c8a0802b2191d30c6070c8f6, for example). Please send a pull
 request if you can do that. I don't think there's much value in leaving an
 open ticket for each locale that we're missing. Thanks!

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.3655842739dd25f1a2364b9e8111ab7a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #25920: django.contrib.humanize filters are not well localized for en_IN

2015-12-11 Thread Django
#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) 10.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", 10.00, grouping=True)
 Out[3]: '1,00,000.00'
 }}}

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
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.