public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect
@ 2014-08-03 11:38 mfawwaz93 at gmail dot com
  2016-01-17 13:18 ` [Bug localedata/17225] " msaied93 at gmail dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: mfawwaz93 at gmail dot com @ 2014-08-03 11:38 UTC (permalink / raw)
  To: libc-locales

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

            Bug ID: 17225
           Summary: Localized ar-SY month names for May and June are
                    incorrect
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
          Assignee: unassigned at sourceware dot org
          Reporter: mfawwaz93 at gmail dot com
                CC: libc-locales at sourceware dot org

https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/locales/ar_SY

Full month names of May and June at lines 127 and 128 are incorrect.
May is translated as "نواران" (I'm not even sure this is an Arabic word), and
should by "أيار".

June is translated as "حزير" which would be OK as an abbreviated form (still
not very much used), because it missing two letters at the end, and should be
"حزيران".

Also, the abbreviated forms are translated for May as "نوار" (line 109), which
shoud be "أيار" (no abbr. form) and for June as "حزيران", which is the FULL
form (I see they are swapped).

TO sum up:

109 should be "<U0623><U064A><U0627><U0631>" (أيار)
110 (حزيران) should not be changed (this is the FULL form, but it should not be
changed because abrreviated forms are not familiar in Arabic)

127 should be same as 109
128 should be same as 110 "<U062D><U0632><U064A><U0631><U0627><U0646>" (حزيران)


This is a long standing bug and I'm still wondering why it has not been
reported before.

For reference, see Arabic month names on Wikipedia
https://en.wikipedia.org/wiki/Arabic_names_of_calendar_months

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

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

* [Bug localedata/17225] Localized ar-SY month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
  2016-01-17 13:18 ` [Bug localedata/17225] " msaied93 at gmail dot com
@ 2016-01-17 13:18 ` msaied93 at gmail dot com
  2016-01-17 19:49 ` [Bug localedata/17225] ar_SY: localized " vapier at gentoo dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: msaied93 at gmail dot com @ 2016-01-17 13:18 UTC (permalink / raw)
  To: libc-locales

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

msaied93 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msaied93 at gmail dot com
            Version|unspecified                 |2.23

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

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

* [Bug localedata/17225] Localized ar-SY month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
@ 2016-01-17 13:18 ` msaied93 at gmail dot com
  2016-01-17 13:18 ` msaied93 at gmail dot com
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: msaied93 at gmail dot com @ 2016-01-17 13:18 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #1 from msaied93 at gmail dot com ---
Created attachment 8905
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8905&action=edit
Patch to fix the month names

I've made a patch to fix the month names in this locale.

Links:
CLDR data for ar_SY locale:
http://unicode.org/repos/cldr/trunk/common/main/ar_SY.xml
Local Explorer: http://demo.icu-project.org/icu-bin/locexp?_=ar_SY

There's actually a lot of mistakes in ar_* locales and maybe others; ar_LB, for
instance, suffer from the same issue reported here.

I suggest creating some script or so to periodically incorporate updates and
new locales from CLDR into localedata.

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
  2016-01-17 13:18 ` [Bug localedata/17225] " msaied93 at gmail dot com
  2016-01-17 13:18 ` msaied93 at gmail dot com
@ 2016-01-17 19:49 ` vapier at gentoo dot org
  2016-01-17 22:42 ` vapier at gentoo dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: vapier at gentoo dot org @ 2016-01-17 19:49 UTC (permalink / raw)
  To: libc-locales

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

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Localized ar-SY month names |ar_SY: localized month
                   |for May and June are        |names for May and June are
                   |incorrect                   |incorrect

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
                   ` (2 preceding siblings ...)
  2016-01-17 19:49 ` [Bug localedata/17225] ar_SY: localized " vapier at gentoo dot org
@ 2016-01-17 22:42 ` vapier at gentoo dot org
  2016-02-09  8:39 ` vapier at gentoo dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: vapier at gentoo dot org @ 2016-01-17 22:42 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #2 from Mike Frysinger <vapier at gentoo dot org> ---
https://sourceware.org/ml/libc-alpha/2016-01/msg00410.html

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
                   ` (3 preceding siblings ...)
  2016-01-17 22:42 ` vapier at gentoo dot org
@ 2016-02-09  8:39 ` vapier at gentoo dot org
  2016-02-09 10:08 ` msaied93 at gmail dot com
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: vapier at gentoo dot org @ 2016-02-09  8:39 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #3 from Mike Frysinger <vapier at gentoo dot org> ---
from what i can tell, that's not what the CLDR db says:
https://ssl.icu-project.org/icu-bin/locexp?d_=en&_=ar

it shows May as "مايو" and June as "يونيو".

unfortunately, i don't understand Arabic, so i'd lean towards the automated db
import and just the CLDR values directly.

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
                   ` (4 preceding siblings ...)
  2016-02-09  8:39 ` vapier at gentoo dot org
@ 2016-02-09 10:08 ` msaied93 at gmail dot com
  2016-02-09 11:32 ` msaied93 at gmail dot com
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: msaied93 at gmail dot com @ 2016-02-09 10:08 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #4 from msaied93 at gmail dot com ---
Please note that month names are not the same in all Arab countries. You should
compare with ar_SY instead:
https://ssl.icu-project.org/icu-bin/locexp?d_=en&_=ar_SY

I vote for the automated import too; updating locales manually is cumbersome
and error prone. I'm ready to help as needed although I'm not very familiar
with glibc itself.

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
                   ` (5 preceding siblings ...)
  2016-02-09 10:08 ` msaied93 at gmail dot com
@ 2016-02-09 11:32 ` msaied93 at gmail dot com
  2016-02-09 11:34 ` vapier at gentoo dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: msaied93 at gmail dot com @ 2016-02-09 11:32 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #6 from msaied93 at gmail dot com ---
(In reply to Mike Frysinger from comment #5)

> ar_SY: abmon: changing
> {كانون
> الثاني";"شباط";"آذار";"نيسان";"نوار";"حزيران";"تموز";"آب";"أيلول";"تشرين
> الأول";"تشرين الثاني";"كانون الأول}
> to
> {كانون
> الثاني";"شباط";"آذار";"نيسان";"أيار";"حزيران";"تموز";"آب";"أيلول";"تشرين
> الأول";"تشرين الثاني";"كانون الأول}
> 
> so this seems to agree with the original request

Yes it does. This is for `abmon`, what about `mon` ? And also I noticed some
difference in the date format (d_t_fmt and d_fmt use `,` instead of `،`). There
is also LC_NAME which has English values: I didn't see an equivalent for
LC_NAME in CLDR data.

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
                   ` (6 preceding siblings ...)
  2016-02-09 11:32 ` msaied93 at gmail dot com
@ 2016-02-09 11:34 ` vapier at gentoo dot org
  2016-02-09 12:45 ` vapier at gentoo dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: vapier at gentoo dot org @ 2016-02-09 11:34 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #5 from Mike Frysinger <vapier at gentoo dot org> ---
(In reply to msaied93 from comment #4)

thanks, i've updated my script to search first the locale before falling back
to the common language.  this is what it shows now:

ar_SY: abmon: changing
{كانون الثاني";"شباط";"آذار";"نيسان";"نوار";"حزيران";"تموز";"آب";"أيلول";"تشرين
الأول";"تشرين الثاني";"كانون الأول}
to
{كانون الثاني";"شباط";"آذار";"نيسان";"أيار";"حزيران";"تموز";"آب";"أيلول";"تشرين
الأول";"تشرين الثاني";"كانون الأول}

so this seems to agree with the original request

also, while i linked to the ICU projects while saying "CLDR", much of their
data is from the CLDR, so it's practically the same.  their web interface is a
bit nicer than the CLDR site :).

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
                   ` (7 preceding siblings ...)
  2016-02-09 11:34 ` vapier at gentoo dot org
@ 2016-02-09 12:45 ` vapier at gentoo dot org
  2017-07-03  8:04 ` maiku.fabian at gmail dot com
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: vapier at gentoo dot org @ 2016-02-09 12:45 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #7 from Mike Frysinger <vapier at gentoo dot org> ---
(In reply to msaied93 from comment #6)

this is the abmon update:
ar_SY: abmon: changing
{كانون الثاني";"شباط";"آذار";"نيسان";"نوار";"حزيران";"تموز";"آب";"أيلول";"تشرين
الأول";"تشرين الثاني";"كانون الأول}
to
{كانون الثاني";"شباط";"آذار";"نيسان";"أيار";"حزيران";"تموز";"آب";"أيلول";"تشرين
الأول";"تشرين الثاني";"كانون الأول}

the abmon/mon/abday/day are all handled the same way now in my script

the xxx_fmt fields will take more time, but i think i can get them out of cldr

i haven't found a solution for LC_NAME fields as they aren't in cldr

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
                   ` (8 preceding siblings ...)
  2016-02-09 12:45 ` vapier at gentoo dot org
@ 2017-07-03  8:04 ` maiku.fabian at gmail dot com
  2017-07-06 14:22 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-07-03  8:04 UTC (permalink / raw)
  To: libc-locales

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maiku.fabian at gmail dot com
           Assignee|unassigned at sourceware dot org   |maiku.fabian at gmail dot com

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
                   ` (9 preceding siblings ...)
  2017-07-03  8:04 ` maiku.fabian at gmail dot com
@ 2017-07-06 14:22 ` cvs-commit at gcc dot gnu.org
  2017-07-06 14:23 ` maiku.fabian at gmail dot com
  2017-07-10  6:25 ` maiku.fabian at gmail dot com
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2017-07-06 14:22 UTC (permalink / raw)
  To: libc-locales

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

--- Comment #8 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  1bea5858dd5b2615288e96525f3918e35f42dd2d (commit)
      from  3adfef7eaafae8dc00fa12cdecde68c01b7d565a (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=1bea5858dd5b2615288e96525f3918e35f42dd2d

commit 1bea5858dd5b2615288e96525f3918e35f42dd2d
Author: Rafal Luzynski <digitalfreak@lingonborough.com>
Date:   Sat Jul 1 02:22:37 2017 +0200

    Arabic scripts: More fixes after the recent import.

    After the recent import of month names from CLDRv31 (bug 21217,
    commit c853f14) more imports are also needed, mostly abbreviated month
    names.

    This patch also updates May (full month name) in ps_AF which was
    skipped in the previous patch.

    Incidentally, this import fixes bug 17225 (ar_SY) and partially
    bug 19066 (ar_SA).

    CLDR currently has a bug in the full month name for October for ar_IQ, see
    http://unicode.org/cldr/trac/ticket/10460

        * localedata/locales/ar_DZ (abmon): Full import from CLDR, abmon
        is no longer abbreviated.
        * localedata/locales/ar_IQ (abmon): Likewise.
        * localedata/locales/ar_MA (abmon): Likewise.
        * localedata/locales/ar_TN (abmon): Likewise.
        * localedata/locales/ps_AF (abmon): Likewise.
        * localedata/locales/ug_CN (abmon): Likewise.
        * localedata/locales/ar_SA (abmon): Likewise, partially
        fixes bug 19066.
        * localedata/locales/ks_IN (abmon): A copy of mon.
        * localedata/locales/ur_IN (abmon): Oct reworded "اكتوبر" to
        "اکتوبر" (same change as mon).
        * localedata/locales/ur_PK (abmon): Same changes as mon applied.

        * localedata/locales/ps_AF (mon): May reworded "می" to "مۍ".

        [BZ #17225]
        * localedata/locales/ar_SY (abmon): May reworded "نوار" to
        "أيار", this closes bug 17225.
        * localedata/locales/ar_JO (abmon): Likewise.
        * localedata/locales/ar_LB (abmon): Likewise.

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

Summary of changes:
 localedata/ChangeLog     |   34 ++++++++++++++++++++++++++++++++++
 localedata/locales/ar_DZ |   18 ++++++++++++------
 localedata/locales/ar_IQ |   18 ++++++++++++------
 localedata/locales/ar_JO |    2 +-
 localedata/locales/ar_LB |    2 +-
 localedata/locales/ar_MA |   18 ++++++++++++------
 localedata/locales/ar_SA |   24 ++++++++++++------------
 localedata/locales/ar_SY |    2 +-
 localedata/locales/ar_TN |   18 ++++++++++++------
 localedata/locales/ks_IN |   20 ++++++++++----------
 localedata/locales/ps_AF |   24 ++++++++++++------------
 localedata/locales/ug_CN |   24 ++++++++++++------------
 localedata/locales/ur_IN |    2 +-
 localedata/locales/ur_PK |   12 ++++++------
 14 files changed, 138 insertions(+), 80 deletions(-)

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
                   ` (10 preceding siblings ...)
  2017-07-06 14:22 ` cvs-commit at gcc dot gnu.org
@ 2017-07-06 14:23 ` maiku.fabian at gmail dot com
  2017-07-10  6:25 ` maiku.fabian at gmail dot com
  12 siblings, 0 replies; 14+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-07-06 14:23 UTC (permalink / raw)
  To: libc-locales

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Mike FABIAN <maiku.fabian at gmail dot com> ---
Fixed in glibc master by the recent patches by Rafal Luzynski
<digitalfreak@lingonborough.com>.

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

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

* [Bug localedata/17225] ar_SY: localized month names for May and June are incorrect
  2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
                   ` (11 preceding siblings ...)
  2017-07-06 14:23 ` maiku.fabian at gmail dot com
@ 2017-07-10  6:25 ` maiku.fabian at gmail dot com
  12 siblings, 0 replies; 14+ messages in thread
From: maiku.fabian at gmail dot com @ 2017-07-10  6:25 UTC (permalink / raw)
  To: libc-locales

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.26

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

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

end of thread, other threads:[~2017-07-10  6:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-03 11:38 [Bug localedata/17225] New: Localized ar-SY month names for May and June are incorrect mfawwaz93 at gmail dot com
2016-01-17 13:18 ` [Bug localedata/17225] " msaied93 at gmail dot com
2016-01-17 13:18 ` msaied93 at gmail dot com
2016-01-17 19:49 ` [Bug localedata/17225] ar_SY: localized " vapier at gentoo dot org
2016-01-17 22:42 ` vapier at gentoo dot org
2016-02-09  8:39 ` vapier at gentoo dot org
2016-02-09 10:08 ` msaied93 at gmail dot com
2016-02-09 11:32 ` msaied93 at gmail dot com
2016-02-09 11:34 ` vapier at gentoo dot org
2016-02-09 12:45 ` vapier at gentoo dot org
2017-07-03  8:04 ` maiku.fabian at gmail dot com
2017-07-06 14:22 ` cvs-commit at gcc dot gnu.org
2017-07-06 14:23 ` maiku.fabian at gmail dot com
2017-07-10  6:25 ` 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).