public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/22019] New: Wrong placement of monetery symbol in el_GR (negative amounts)
@ 2017-08-28 15:52 tzotzioy+bzl at gmail dot com
  2017-08-29 10:52 ` [Bug localedata/22019] " tzotzioy+bzl at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: tzotzioy+bzl at gmail dot com @ 2017-08-28 15:52 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=22019

            Bug ID: 22019
           Summary: Wrong placement of monetery symbol in el_GR (negative
                    amounts)
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: tzotzioy+bzl at gmail dot com
                CC: libc-locales at sourceware dot org
  Target Milestone: ---

In el_GR.UTF-8 the field n_cs_precedes is set to 1 while p_cs_precedes is set
to 0; this leads to the following formatting of monetary amounts:

* 16,20€
* -€16,80

This goes against common public usage of monetary amounts, and n_cs_precedes
should be set to 0 just like p_cs_precedes.

I understand that I should provide a link to a proper standard (assumably from
http://www.elot.gr/default_en.aspx , the Greek Standards Organisation) but it's
difficult to provide one (web searches did not produce results, so I have
contacted them by email and am still in the
wait-for-a-reply-by-someone-in-the-know phase). I will try to update the issue
with any relevant information.

In the meantime, I will see the proper way to submit a patch as an attachment
here.

(Unless I happen to locate some pointer to a standard in the
glibc/localedata/locales/el_GR change log.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug localedata/22019] Wrong placement of monetery symbol in el_GR (negative amounts)
  2017-08-28 15:52 [Bug localedata/22019] New: Wrong placement of monetery symbol in el_GR (negative amounts) tzotzioy+bzl at gmail dot com
@ 2017-08-29 10:52 ` tzotzioy+bzl at gmail dot com
  2017-08-29 11:54 ` [Bug localedata/22019] Wrong placement of monetary " tzotzioy+bzl at gmail dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: tzotzioy+bzl at gmail dot com @ 2017-08-29 10:52 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=22019

Christos Georgiou <tzotzioy+bzl at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tzotzioy+bzl at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug localedata/22019] Wrong placement of monetary symbol in el_GR (negative amounts)
  2017-08-28 15:52 [Bug localedata/22019] New: Wrong placement of monetery symbol in el_GR (negative amounts) tzotzioy+bzl at gmail dot com
  2017-08-29 10:52 ` [Bug localedata/22019] " tzotzioy+bzl at gmail dot com
@ 2017-08-29 11:54 ` tzotzioy+bzl at gmail dot com
  2017-08-29 13:57 ` maiku.fabian at gmail dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: tzotzioy+bzl at gmail dot com @ 2017-08-29 11:54 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=22019

Christos Georgiou <tzotzioy+bzl at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Wrong placement of monetery |Wrong placement of monetary
                   |symbol in el_GR (negative   |symbol in el_GR (negative
                   |amounts)                    |amounts)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug localedata/22019] Wrong placement of monetary symbol in el_GR (negative amounts)
  2017-08-28 15:52 [Bug localedata/22019] New: Wrong placement of monetery symbol in el_GR (negative amounts) tzotzioy+bzl at gmail dot com
  2017-08-29 10:52 ` [Bug localedata/22019] " tzotzioy+bzl at gmail dot com
  2017-08-29 11:54 ` [Bug localedata/22019] Wrong placement of monetary " tzotzioy+bzl at gmail dot com
@ 2017-08-29 13:57 ` maiku.fabian at gmail dot com
  2017-10-16 10:44 ` maiku.fabian at gmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-08-29 13:57 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=22019

Mike FABIAN <maiku.fabian at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-08-29
                 CC|                            |maiku.fabian at gmail dot com
           Assignee|unassigned at sourceware dot org   |maiku.fabian at gmail dot com
     Ever confirmed|0                           |1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug localedata/22019] Wrong placement of monetary symbol in el_GR (negative amounts)
  2017-08-28 15:52 [Bug localedata/22019] New: Wrong placement of monetery symbol in el_GR (negative amounts) tzotzioy+bzl at gmail dot com
                   ` (2 preceding siblings ...)
  2017-08-29 13:57 ` maiku.fabian at gmail dot com
@ 2017-10-16 10:44 ` maiku.fabian at gmail dot com
  2017-10-17  8:40 ` tzotzioy+bzl at gmail dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-10-16 10:44 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=22019

--- Comment #1 from Mike FABIAN <maiku.fabian at gmail dot com> ---
(In reply to Christos Georgiou from comment #0)

> I understand that I should provide a link to a proper standard (assumably
> from http://www.elot.gr/default_en.aspx , the Greek Standards Organisation)
> but it's difficult to provide one (web searches did not produce results, so
> I have contacted them by email and am still in the
> wait-for-a-reply-by-someone-in-the-know phase). I will try to update the
> issue with any relevant information.

Could you find a reference to a standard?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug localedata/22019] Wrong placement of monetary symbol in el_GR (negative amounts)
  2017-08-28 15:52 [Bug localedata/22019] New: Wrong placement of monetery symbol in el_GR (negative amounts) tzotzioy+bzl at gmail dot com
                   ` (3 preceding siblings ...)
  2017-10-16 10:44 ` maiku.fabian at gmail dot com
@ 2017-10-17  8:40 ` tzotzioy+bzl at gmail dot com
  2017-10-17 12:43 ` maiku.fabian at gmail dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: tzotzioy+bzl at gmail dot com @ 2017-10-17  8:40 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=22019

--- Comment #2 from Christos Georgiou <tzotzioy+bzl at gmail dot com> ---
Still waiting for an answer from http://www.elot.gr/default_en.aspx , sorry.

However, is there any documentation referencing any standard for the current
choice of different Positive/Negative formats? If not, then we can consider the
possibility that the original choice was a mistake.

NB: until a standard is located (and I am pessimistic about it) the €### and
###€ are equally common in official (i.e. state) documents, although the most
common case is not using the euro sign at all, it being implied or contained in
the title of a column. But I haven't found anywhere an inconsistent usage in
regards to the euro sign being used as a prefix or a suffix to the amount
depending on the amount sign.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug localedata/22019] Wrong placement of monetary symbol in el_GR (negative amounts)
  2017-08-28 15:52 [Bug localedata/22019] New: Wrong placement of monetery symbol in el_GR (negative amounts) tzotzioy+bzl at gmail dot com
                   ` (4 preceding siblings ...)
  2017-10-17  8:40 ` tzotzioy+bzl at gmail dot com
@ 2017-10-17 12:43 ` maiku.fabian at gmail dot com
  2017-10-17 13:44 ` cvs-commit at gcc dot gnu.org
  2017-10-17 13:48 ` maiku.fabian at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-10-17 12:43 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=22019

--- Comment #3 from Mike FABIAN <maiku.fabian at gmail dot com> ---
(In reply to Christos Georgiou from comment #2)
> Still waiting for an answer from http://www.elot.gr/default_en.aspx , sorry.
> 
> However, is there any documentation referencing any standard for the current
> choice of different Positive/Negative formats? If not, then we can consider
> the possibility that the original choice was a mistake.

Yes, I agree.

CLDR has this:

http://unicode.org/cldr/trac/browser/trunk/common/main/el.xml#L5563

    <currencyFormats numberSystem="latn">
        <currencyFormatLength>
                <currencyFormat type="standard">
                        <pattern>#,##0.00 ¤</pattern>
                </currencyFormat>
                <currencyFormat type="accounting">
                        <pattern>#,##0.00 ¤</pattern>
                </currencyFormat>
        </currencyFormatLength>

I.e. the currency sign comea after the amount.

In some locales like it_CH.xml CLDR has
different patterns for positive and negative
amounts separated by a “;”:

    <pattern>¤ #,##0.00;¤-#,##0.00</pattern>

As the el.xml file does not have this, I think we can  assume that the
positive and  negative amounts use the same pattern.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug localedata/22019] Wrong placement of monetary symbol in el_GR (negative amounts)
  2017-08-28 15:52 [Bug localedata/22019] New: Wrong placement of monetery symbol in el_GR (negative amounts) tzotzioy+bzl at gmail dot com
                   ` (5 preceding siblings ...)
  2017-10-17 12:43 ` maiku.fabian at gmail dot com
@ 2017-10-17 13:44 ` cvs-commit at gcc dot gnu.org
  2017-10-17 13:48 ` maiku.fabian at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2017-10-17 13:44 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=22019

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  56a752ab6aa89088a787d852358cdd8f0a0d57f1 (commit)
      from  c38a4bfd596db2be2b9c1f96715bdc833eab760a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=56a752ab6aa89088a787d852358cdd8f0a0d57f1

commit 56a752ab6aa89088a787d852358cdd8f0a0d57f1
Author: Mike FABIAN <mfabian@redhat.com>
Date:   Tue Oct 17 14:54:53 2017 +0200

    Place monetary symbol in el_GR and el_CY after the amount

    CLDR uses this pattern as well.

        [BZ #22019]
        * localedata/locales/el_GR: Set n_cs_precedes to 0.
        * localedata/locales/el_CY: copy "el_GR" because it is identical.
        * stdlib/tst-strfmon_l.c: adapt test case.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                |    7 +++++++
 localedata/locales/el_CY |   16 +---------------
 localedata/locales/el_GR |    2 +-
 stdlib/tst-strfmon_l.c   |    4 ++--
 4 files changed, 11 insertions(+), 18 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug localedata/22019] Wrong placement of monetary symbol in el_GR (negative amounts)
  2017-08-28 15:52 [Bug localedata/22019] New: Wrong placement of monetery symbol in el_GR (negative amounts) tzotzioy+bzl at gmail dot com
                   ` (6 preceding siblings ...)
  2017-10-17 13:44 ` cvs-commit at gcc dot gnu.org
@ 2017-10-17 13:48 ` maiku.fabian at gmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-10-17 13:48 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=22019

Mike FABIAN <maiku.fabian at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.27

--- Comment #5 from Mike FABIAN <maiku.fabian at gmail dot com> ---
FIXED in glibc master.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2017-10-17 13:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28 15:52 [Bug localedata/22019] New: Wrong placement of monetery symbol in el_GR (negative amounts) tzotzioy+bzl at gmail dot com
2017-08-29 10:52 ` [Bug localedata/22019] " tzotzioy+bzl at gmail dot com
2017-08-29 11:54 ` [Bug localedata/22019] Wrong placement of monetary " tzotzioy+bzl at gmail dot com
2017-08-29 13:57 ` maiku.fabian at gmail dot com
2017-10-16 10:44 ` maiku.fabian at gmail dot com
2017-10-17  8:40 ` tzotzioy+bzl at gmail dot com
2017-10-17 12:43 ` maiku.fabian at gmail dot com
2017-10-17 13:44 ` cvs-commit at gcc dot gnu.org
2017-10-17 13:48 ` maiku.fabian 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).