[Bug localedata/23791] New: Wrong monetary format for ca_ES locale
sergi at koolpi dot com
sourceware-bugzilla@sourceware.org
Thu Oct 18 09:46:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23791
Bug ID: 23791
Summary: Wrong monetary format for ca_ES locale
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: localedata
Assignee: unassigned at sourceware dot org
Reporter: sergi at koolpi dot com
CC: libc-locales at sourceware dot org
Target Milestone: ---
In Catalan language the monetary numbers are formatted as "1.200,00€" [1] but
acording to the locale definition they are formated as "€ 1200,00". See:
(nclone) pokoli@archy » python
Python 3.7.0 (default, Sep 15 2018, 19:13:07)
[GCC 8.2.1 20180831] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale(locale.LC_ALL, '')
'ca_AD.UTF-8'
>>> locale.currency(1234)
'€ 1234,00'
I'm using ca_AD but it inherits the definition from ca_ES
CLDR[2] has the following definition:
<currencyFormat type="standard">
<pattern>#,##0.00 ¤</pattern>
</currencyFormat>
<currencyFormat type="accounting">
<pattern>#,##0.00 ¤;(#,##0.00 ¤)</pattern>
</currencyFormat>
[1]
https://www.uoc.edu/portal/ca/servei-linguistic/convencions/escriptura-numerals/index.html
[2] http://unicode.org/cldr/trac/browser/trunk/common/main/ca.xml#L5548
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list