Hi Malte,

The conversion takes place in the intword template filter[1].

The Chinese translation of the intword_converters can be found in the
locale directory of the humanize application[2].

These translations are handled over Transifex[3].

Cheers,
Simon

[1] 
https://github.com/django/django/blob/72ea289ab7f3a0c2c6dca7b2eb73f3117409f8f0/django/contrib/humanize/templatetags/humanize.py#L58-L138
[2] 
https://github.com/django/django/blob/master/django/contrib/humanize/locale/zh_Hans/LC_MESSAGES/django.po
[3] https://www.transifex.com/django/django/language/zh_CN/

Le lundi 2 mai 2016 22:57:40 UTC-4, Malte a écrit :
>
> Hi,
>
> The Chinese humanization of numbers is not correct for large and very 
> large numbers.
> 1.400.000 converts into 1.4 百万 but should be 140万
> 166,200,000,000 converts into 166.2十亿 but should be 1662亿
> I just looked through the Django core code but couldn't find where that 
> conversion takes place.
>
> Where does all of that go down?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/30339ba1-1525-4566-8a25-71d67c73aa60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to