-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
es_MX/MXN: format_currency using comma instead dot for decimal separator #97
Comments
I found that es_DO, es_GT, es_HN, es_MX, es_NI, es_PA, es_SV are affected. |
This is solved in #117. It is caused by not taking into account locale inheritance exceptions. All the spanish variations you mention should be inheriting from |
erickwilder
pushed a commit
to erickwilder/babel
that referenced
this issue
Sep 23, 2015
When deriving the parent locale from the given name, look first in the inheritance exception list. This will cover cases like "es_MX", which parent is "es_419" and not "es". Fixes python-babel#97
This was referenced Feb 19, 2017
This was referenced Aug 17, 2017
This was referenced Aug 26, 2017
This was referenced Jan 15, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. I did various tests and found that format_currency is formatting MXN currency (from Mexico, es_MX locale) wrong. There is a small code that compare it to python locale, that use posix data:
In my tests I updated CLDR data, from 23.1 to 25 and same issue happens.
This can be a issue in CLDR data?
The text was updated successfully, but these errors were encountered: