public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/23791] New: Wrong monetary format for ca_ES locale
@ 2018-10-18  9:46 sergi at koolpi dot com
  2018-10-18 10:23 ` [Bug localedata/23791] " sergi at koolpi dot com
                   ` (23 more replies)
  0 siblings, 24 replies; 26+ messages in thread
From: sergi at koolpi dot com @ 2018-10-18  9:46 UTC (permalink / raw)
  To: libc-locales

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.

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2023-02-21  6:41 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18  9:46 [Bug localedata/23791] New: Wrong monetary format for ca_ES locale sergi at koolpi dot com
2018-10-18 10:23 ` [Bug localedata/23791] " sergi at koolpi dot com
2018-10-18 10:23 ` sergi at koolpi dot com
2018-10-18 10:29 ` sergi at koolpi dot com
2018-10-18 18:10 ` keld at keldix dot com
2018-10-18 18:10 ` [Bug localedata/23791] New: " Keld Simonsen
2018-10-18 21:01 ` [Bug localedata/23791] " sergi at koolpi dot com
2018-10-21  9:03   ` Keld Simonsen
2018-10-18 21:01 ` sergi at koolpi dot com
2018-10-21  9:05 ` keld at keldix dot com
2018-10-22 11:09 ` jmontane at softcatala dot org
2018-10-22 11:54 ` jmontane at softcatala dot org
2018-10-22 15:12 ` sergi at koolpi dot com
2018-10-22 15:15 ` sergi at koolpi dot com
2018-10-26 12:06 ` rbuj at fedoraproject dot org
2018-10-26 15:16 ` rbuj at fedoraproject dot org
2018-10-26 15:46 ` rbuj at fedoraproject dot org
2018-10-26 19:25 ` rbuj at fedoraproject dot org
2018-10-29 12:31 ` sergi at koolpi dot com
2018-10-29 14:28 ` maiku.fabian at gmail dot com
2018-10-29 14:38 ` maiku.fabian at gmail dot com
2018-10-30  7:07 ` cvs-commit at gcc dot gnu.org
2018-10-30  8:29 ` maiku.fabian at gmail dot com
2018-10-30  8:31 ` maiku.fabian at gmail dot com
2019-01-31 17:18 ` cvs-commit at gcc dot gnu.org
2023-02-21  6:41 ` johnkaitlyn95 at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).