[PATCH 0/4] Four locale data patches

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH 0/4] Four locale data patches

Rafal Luzynski
I think these patches are correct and not destructive but since we are
in the slushy freeze period I'd like to hear at least one OK.  Carlos?

Explanations:

[PATCH v2 1/4] ga_IE and en_IE locales: Revert first_weekday removal (bug
24200).

I call it v2 because the previous version was posted here:
https://sourceware.org/ml/libc-alpha/2016-11/msg00978.html
This version adds the same first_weekday for ga_IE as well.

[PATCH 2/4] nl_BE and nl_NL locales: Dutch salutations (bug 23996).

Originally posted as an attachment here:
https://sourceware.org/bugzilla/show_bug.cgi?id=23996

[PATCH 3/4] nl_BE locale: Use "copy "nl_NL"" in LC_NAME (bug 23996).

This is my improvement for the previous patch.

[PATCH v4 4/4] Afar locales: Months and days updated from CLDR (bug 21897).

I call it v4 because it is a continuation of the previous patches posted
by Akhilesh Kumar:

v1: https://sourceware.org/ml/libc-alpha/2017-08/msg00068.html
v2: https://sourceware.org/ml/libc-alpha/2017-08/msg00245.html
v3: https://sourceware.org/ml/libc-alpha/2017-08/msg00256.html

However, my patch has been written from scratch and is based on CLDR,
it does not use the previous patches.

Regards,

Rafal
Reply | Threaded
Open this post in threaded view
|

[PATCH v2 1/4] ga_IE and en_IE locales: Revert first_weekday removal (bug 24200).

Rafal Luzynski
These values were removed by the commit 0a410e76f5.

        [BZ #24200]
        * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
        * localedata/locales/en_IE (first_weekday): Likewise.
---
 localedata/locales/en_IE | 1 +
 localedata/locales/ga_IE | 1 +
 2 files changed, 2 insertions(+)

diff --git a/localedata/locales/en_IE b/localedata/locales/en_IE
index 5138e2ac5a..09c42c7f6a 100644
--- a/localedata/locales/en_IE
+++ b/localedata/locales/en_IE
@@ -112,6 +112,7 @@ d_fmt       "%d//%m//%y"
 t_fmt       "%T"
 am_pm       "";""
 t_fmt_ampm  ""
+first_weekday 2
 week 7;19971130;4
 END LC_TIME
 
diff --git a/localedata/locales/ga_IE b/localedata/locales/ga_IE
index 782adbaa5c..f0ba1b0e32 100644
--- a/localedata/locales/ga_IE
+++ b/localedata/locales/ga_IE
@@ -119,6 +119,7 @@ d_fmt       "%d.%m.%y"
 t_fmt       "%T"
 am_pm       "";""
 t_fmt_ampm  ""
+first_weekday 2
 week 7;19971130;4
 END LC_TIME
 
--
2.21.0
Reply | Threaded
Open this post in threaded view
|

[PATCH 2/4] nl_BE and nl_NL locales: Dutch salutations (bug 23996).

Rafal Luzynski
In reply to this post by Rafal Luzynski
From: PanderMusubi <[hidden email]>
Date: Sun, 16 Dec 2018 20:09:07 +0000
Subject: [PATCH 2/4] nl_BE and nl_NL locales: Dutch salutations (bug 23996).

        [BZ #23996]
        * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
        name_mrs, name_miss, and name_ms.
        * localedata/locales/nl_NL (LC_NAME): Likewise.
---
 localedata/locales/nl_BE | 5 +++++
 localedata/locales/nl_NL | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/localedata/locales/nl_BE b/localedata/locales/nl_BE
index 4179886f8d..b87204a0e1 100644
--- a/localedata/locales/nl_BE
+++ b/localedata/locales/nl_BE
@@ -122,6 +122,11 @@ END LC_MEASUREMENT
 
 LC_NAME
 name_fmt    "%d%t%g%t%m%t%f"
+name_gen    "heer of mevrouw"
+name_mr     "heer"
+name_mrs    "mevrouw"
+name_miss   "mevrouw"
+name_ms     "mevrouw"
 END LC_NAME
 
 LC_ADDRESS
diff --git a/localedata/locales/nl_NL b/localedata/locales/nl_NL
index 20652a9939..185c2099ec 100644
--- a/localedata/locales/nl_NL
+++ b/localedata/locales/nl_NL
@@ -150,6 +150,11 @@ END LC_MEASUREMENT
 
 LC_NAME
 name_fmt    "%d%t%g%t%m%t%f"
+name_gen    "heer of mevrouw"
+name_mr     "heer"
+name_mrs    "mevrouw"
+name_miss   "mevrouw"
+name_ms     "mevrouw"
 END LC_NAME
 
 LC_ADDRESS
--
2.21.0
Reply | Threaded
Open this post in threaded view
|

[PATCH 3/4] nl_BE locale: Use "copy "nl_NL"" in LC_NAME (bug 23996).

Rafal Luzynski
In reply to this post by Rafal Luzynski
The content of the section is identical in both languages.

        [BZ #23996]
        * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
---
 localedata/locales/nl_BE | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/localedata/locales/nl_BE b/localedata/locales/nl_BE
index b87204a0e1..6232998847 100644
--- a/localedata/locales/nl_BE
+++ b/localedata/locales/nl_BE
@@ -121,12 +121,7 @@ copy "fr_BE"
 END LC_MEASUREMENT
 
 LC_NAME
-name_fmt    "%d%t%g%t%m%t%f"
-name_gen    "heer of mevrouw"
-name_mr     "heer"
-name_mrs    "mevrouw"
-name_miss   "mevrouw"
-name_ms     "mevrouw"
+copy "nl_NL"
 END LC_NAME
 
 LC_ADDRESS
--
2.21.0
Reply | Threaded
Open this post in threaded view
|

[PATCH v4 4/4] Afar locales: Months and days updated from CLDR (bug 21897).

Rafal Luzynski
In reply to this post by Rafal Luzynski
This commit updates month and weekday names (full and abbreviated)
from CLDR 35.1 with the following exceptions.

It was not clear why the full name of February in aa_DJ and aa_ER was
"Kudo" while the abbreviated version is "Nah" but some additional
sources [1] [2] as well as the content of aa_ER and aa_ER@saaho
suggest it should be "Naharsi Kudo".  This commit consequently sets
the translation of February to "Naharsi Kudo" in aa_DJ and aa_ET.

aa_ER@saaho is not supported by CLDR but since the month names were
identical to aa_ER before this commit, the same values have been copied
from aa_ER.

Links:

[1] https://fr.wiktionary.org/wiki/naharsi_kudo
[2] http://www.mcit.gov.et/web/guest/-/localization-standard-for-afaraf

        [BZ #21897]
        * localedata/locales/aa_DJ (abday): Update from CLDR, all words
        begin with an uppercase letter now.
        (abmon): Likewise.
        (mon): Update from CLDR, reword February from "Kudo" to
        "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
        and August from "Liiqen" to "Leqeeni".
        * localedata/locales/aa_ER (mon): Update from CLDR, reword
        April from "Agda Baxisso" to "Agda Baxis" and August from
        "Leqeeni" to "Liiqen".
        * localedata/locales/aa_ER@saaho (mon): Likewise.
        * localedata/locales/aa_ET (abmon): Update from CLDR, reword
        abbreviated February from "Kud" to "Nah".
        (mon): Update from CLDR, reword February from "Kudo" to
        "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
---
 localedata/locales/aa_DJ       | 10 +++++-----
 localedata/locales/aa_ER       |  4 ++--
 localedata/locales/aa_ER@saaho |  4 ++--
 localedata/locales/aa_ET       |  6 +++---
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/localedata/locales/aa_DJ b/localedata/locales/aa_DJ
index 98e1505404..5e900ac66c 100644
--- a/localedata/locales/aa_DJ
+++ b/localedata/locales/aa_DJ
@@ -181,7 +181,7 @@ LC_TIME
 %
 % Abbreviated weekday names (%a)
 %
-abday    "aca";"etl";"tal";"arb";"kam";"gum";"sab"
+abday    "Aca";"Etl";"Tal";"Arb";"Kam";"Gum";"Sab"
 %
 % Full weekday names (%A)
 %
@@ -195,18 +195,18 @@ day      "Acaada";/
 %
 % Abbreviated month names (%b)
 %
-abmon
   "qun";"nah";"cig";"agd";"cax";"qas";"qad";"leq";"way";"dit";"xim";"kax"
+abmon
   "Qun";"Nah";"Cig";"Agd";"Cax";"Qas";"Qad";"Leq";"Way";"Dit";"Xim";"Kax"
 %
 % Full month names (%B)
 %
 mon      "Qunxa Garablu";/
-         "Kudo";/
+         "Naharsi Kudo";/
          "Ciggilta Kudo";/
-         "Agda Baxisso";/
+         "Agda Baxis";/
          "Caxah Alsa";/
          "Qasa Dirri";/
          "Qado Dirri";/
-         "Liiqen";/
+         "Leqeeni";/
          "Waysu";/
          "Diteli";/
          "Ximoli";/
diff --git a/localedata/locales/aa_ER b/localedata/locales/aa_ER
index 6d20ae907b..2d23b0f93c 100644
--- a/localedata/locales/aa_ER
+++ b/localedata/locales/aa_ER
@@ -176,11 +176,11 @@ abmon    "Qun";/
 mon      "Qunxa Garablu";/
          "Naharsi Kudo";/
          "Ciggilta Kudo";/
-         "Agda Baxisso";/
+         "Agda Baxis";/
          "Caxah Alsa";/
          "Qasa Dirri";/
          "Qado Dirri";/
-         "Leqeeni";/
+         "Liiqen";/
          "Waysu";/
          "Diteli";/
          "Ximoli";/
diff --git a/localedata/locales/aa_ER@saaho b/localedata/locales/aa_ER@saaho
index 1a2b16676f..728dcfb879 100644
--- a/localedata/locales/aa_ER@saaho
+++ b/localedata/locales/aa_ER@saaho
@@ -161,11 +161,11 @@ abmon    "Qun";/
 mon      "Qunxa Garablu";/
          "Naharsi Kudo";/
          "Ciggilta Kudo";/
-         "Agda Baxisso";/
+         "Agda Baxis";/
          "Caxah Alsa";/
          "Qasa Dirri";/
          "Qado Dirri";/
-         "Leqeeni";/
+         "Liiqen";/
          "Waysu";/
          "Diteli";/
          "Ximoli";/
diff --git a/localedata/locales/aa_ET b/localedata/locales/aa_ET
index 93fcdb7ff9..1bc7c4a7d9 100644
--- a/localedata/locales/aa_ET
+++ b/localedata/locales/aa_ET
@@ -161,7 +161,7 @@ day      "Acaada";/
 % Abbreviated month names (%b)
 %
 abmon    "Qun";/
-         "Kud";/
+         "Nah";/
          "Cig";/
          "Agd";/
          "Cax";/
@@ -176,9 +176,9 @@ abmon    "Qun";/
 % Full month names (%B)
 %
 mon      "Qunxa Garablu";/
-         "Kudo";/
+         "Naharsi Kudo";/
          "Ciggilta Kudo";/
-         "Agda Baxisso";/
+         "Agda Baxis";/
          "Caxah Alsa";/
          "Qasa Dirri";/
          "Qado Dirri";/
--
2.21.0
Reply | Threaded
Open this post in threaded view
|

RE: [PATCH v4 4/4] Afar locales: Months and days updated from CLDR (bug 21897).

Akhilesh Kumar

Hello Rafal

Afar Region in complete Eritrea, north east part of Ethiopia and northern of Djibouti so abmon and mon will be same for complete reason.      

we can use  “-”  for February , March, April, May, June, July, and Dec because ethotia gov link is more trusty then other (This is my opinion)
http://www.mcit.gov.et/web/guest/-/localization-standard-for-afaraf 


Since glibc only support Gregorian calendar

Thanks and Regards,
Akhilesh Kumar

 
 
--------- Original Message ---------
Sender : Rafal Luzynski <[hidden email]>
Date   : 2019-07-10 15:21 (GMT+5:30)
Title  : [PATCH v4 4/4] Afar locales: Months and days updated from CLDR (bug 21897).
 
This commit updates month and weekday names (full and abbreviated)
from CLDR 35.1 with the following exceptions.
 
It was not clear why the full name of February in aa_DJ and aa_ER was
"Kudo" while the abbreviated version is "Nah" but some additional
sources [1] [2] as well as the content of aa_ER and aa_ER@saaho
suggest it should be "Naharsi Kudo".  This commit consequently sets
the translation of February to "Naharsi Kudo" in aa_DJ and aa_ET.
 
aa_ER@saaho is not supported by CLDR but since the month names were
identical to aa_ER before this commit, the same values have been copied
from aa_ER.
 
Links:
 
[1] https://fr.wiktionary.org/wiki/naharsi_kudo
[2] http://www.mcit.gov.et/web/guest/-/localization-standard-for-afaraf
 
        [BZ #21897]
        * localedata/locales/aa_DJ (abday): Update from CLDR, all words
        begin with an uppercase letter now.
        (abmon): Likewise.
        (mon): Update from CLDR, reword February from "Kudo" to
        "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
        and August from "Liiqen" to "Leqeeni".
        * localedata/locales/aa_ER (mon): Update from CLDR, reword
        April from "Agda Baxisso" to "Agda Baxis" and August from
        "Leqeeni" to "Liiqen".
        * localedata/locales/aa_ER@saaho (mon): Likewise.
        * localedata/locales/aa_ET (abmon): Update from CLDR, reword
        abbreviated February from "Kud" to "Nah".
        (mon): Update from CLDR, reword February from "Kudo" to
        "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
---
 localedata/locales/aa_DJ       | 10 +++++-----
 localedata/locales/aa_ER       |  4 ++--
 localedata/locales/aa_ER@saaho |  4 ++--
 localedata/locales/aa_ET       |  6 +++---
 4 files changed, 12 insertions(+), 12 deletions(-)
 
diff --git a/localedata/locales/aa_DJ b/localedata/locales/aa_DJ
index 98e1505404..5e900ac66c 100644
--- a/localedata/locales/aa_DJ
+++ b/localedata/locales/aa_DJ
@@ -181,7 +181,7 @@ LC_TIME
 %
 % Abbreviated weekday names (%a)
 %
-abday    "aca";"etl";"tal";"arb";"kam";"gum";"sab"
+abday    "Aca";"Etl";"Tal";"Arb";"Kam";"Gum";"Sab"
 %
 % Full weekday names (%A)
 %
@@ -195,18 +195,18 @@ day      "Acaada";/
 %
 % Abbreviated month names (%b)
 %
-abmon
   "qun";"nah";"cig";"agd";"cax";"qas";"qad";"leq";"way";"dit";"xim";"kax"
+abmon
   "Qun";"Nah";"Cig";"Agd";"Cax";"Qas";"Qad";"Leq";"Way";"Dit";"Xim";"Kax"
 %
 % Full month names (%B)
 %
 mon      "Qunxa Garablu";/
-         "Kudo";/
+         "Naharsi Kudo";/
          "Ciggilta Kudo";/
-         "Agda Baxisso";/
+         "Agda Baxis";/
          "Caxah Alsa";/
          "Qasa Dirri";/
          "Qado Dirri";/
-         "Liiqen";/
+         "Leqeeni";/
          "Waysu";/
          "Diteli";/
          "Ximoli";/
diff --git a/localedata/locales/aa_ER b/localedata/locales/aa_ER
index 6d20ae907b..2d23b0f93c 100644
--- a/localedata/locales/aa_ER
+++ b/localedata/locales/aa_ER
@@ -176,11 +176,11 @@ abmon    "Qun";/
 mon      "Qunxa Garablu";/
          "Naharsi Kudo";/
          "Ciggilta Kudo";/
-         "Agda Baxisso";/
+         "Agda Baxis";/
          "Caxah Alsa";/
          "Qasa Dirri";/
          "Qado Dirri";/
-         "Leqeeni";/
+         "Liiqen";/
          "Waysu";/
          "Diteli";/
          "Ximoli";/
diff --git a/localedata/locales/aa_ER@saaho b/localedata/locales/aa_ER@saaho
index 1a2b16676f..728dcfb879 100644
--- a/localedata/locales/aa_ER@saaho
+++ b/localedata/locales/aa_ER@saaho
@@ -161,11 +161,11 @@ abmon    "Qun";/
 mon      "Qunxa Garablu";/
          "Naharsi Kudo";/
          "Ciggilta Kudo";/
-         "Agda Baxisso";/
+         "Agda Baxis";/
          "Caxah Alsa";/
          "Qasa Dirri";/
          "Qado Dirri";/
-         "Leqeeni";/
+         "Liiqen";/
          "Waysu";/
          "Diteli";/
          "Ximoli";/
diff --git a/localedata/locales/aa_ET b/localedata/locales/aa_ET
index 93fcdb7ff9..1bc7c4a7d9 100644
--- a/localedata/locales/aa_ET
+++ b/localedata/locales/aa_ET
@@ -161,7 +161,7 @@ day      "Acaada";/
 % Abbreviated month names (%b)
 %
 abmon    "Qun";/
-         "Kud";/
+         "Nah";/
          "Cig";/
          "Agd";/
          "Cax";/
@@ -176,9 +176,9 @@ abmon    "Qun";/
 % Full month names (%B)
 %
 mon      "Qunxa Garablu";/
-         "Kudo";/
+         "Naharsi Kudo";/
          "Ciggilta Kudo";/
-         "Agda Baxisso";/
+         "Agda Baxis";/
          "Caxah Alsa";/
          "Qasa Dirri";/
          "Qado Dirri";/
-- 
2.21.0
 
Reply | Threaded
Open this post in threaded view
|

RE: [PATCH v4 4/4] Afar locales: Months and days updated from CLDR (bug 21897).

Rafal Luzynski
10.07.2019 14:44 AKHILESH KUMAR <[hidden email]> wrote:
>
> Hello Rafal
>
> Afar Region in complete Eritrea, north east part of Ethiopia and northern
> of Djibouti so abmon and mon will be same for complete reason.      

According to CLDR all mon, abmon, day, and abday values are the same
in all variants of Afar except how August is spelled: "Leqeeni" in
aa_DJ vs. "Liiqen" in all other variants.

> we can use  “-”  for February , March, April, May, June, July, and Dec
> because ethotia gov link is more trusty then other (This is my opinion)
> http://www.mcit.gov.et/web/guest/-/localization-standard-for-afaraf 

In my opinion this source is not quite reliable.  This opinion
may sounds rather strange so I must explain my reasons:

* Inconsistent use of upper/lower case in the second word
  if a month name consists of 2 words.
* Probably swapped June and July.  All other sources (CLDR, the
  old content of glibc, Wiktionary) agree that June is "Qasa Dirri"
  and July is "Qado Dirri" while they swap it.

Unfortunately, there are few Afar sources in the Internet.

> Since glibc only support Gregorian calendar

True but CLDR seems to have explained how to map the traditional
Ethiopian calendar to Gregorian.

Regards,

Rafal
Reply | Threaded
Open this post in threaded view
|

RE: RE: [PATCH v4 4/4] Afar locales: Months and days updated from CLDR (bug 21897).

Akhilesh Kumar
12.07.2019 05:44 Rafal Luzynski <[hidden email]> wrote:

> In my opinion this source is not quite reliable.  This opinion
> may sounds rather strange so I must explain my reasons:
>  
> * Inconsistent use of upper/lower case in the second word
>   if a month name consists of 2 words.
> * Probably swapped June and July.  All other sources (CLDR, the
>   old content of glibc, Wiktionary) agree that June is "Qasa Dirri"
>   and July is "Qado Dirri" while they swap it.
 
Now I Agree, I think we can go with your changes.  
 
> Unfortunately, there are few Afar sources in the Internet.
 
True, For Afar i found only two major source CLDR and mcit.gov.et :(
 
Akhilesh
Reply | Threaded
Open this post in threaded view
|

RE: RE: [PATCH v4 4/4] Afar locales: Months and days updated from CLDR (bug 21897).

Rafal Luzynski
12.07.2019 08:07 AKHILESH KUMAR <[hidden email]> wrote:

>
> 12.07.2019 05:44 Rafal Luzynski <[hidden email]> wrote:
>
> > In my opinion this source is not quite reliable.  This opinion
> > may sounds rather strange so I must explain my reasons:
> >  
> > * Inconsistent use of upper/lower case in the second word
> >   if a month name consists of 2 words.
> > * Probably swapped June and July.  All other sources (CLDR, the
> >   old content of glibc, Wiktionary) agree that June is "Qasa Dirri"
> >   and July is "Qado Dirri" while they swap it.
>  
> Now I Agree, I think we can go with your changes.  
>  
> > Unfortunately, there are few Afar sources in the Internet.
>  
> True, For Afar i found only two major source CLDR and mcit.gov.et :(
>  
> Akhilesh

Thank you for your feedback, Akhilesh.  It is useful and I'm glad
that we agree.

If there are no more objections I would like to push my patches,
all 4 as posted in this list, in about 24 hours.

Regards,

Rafal
Reply | Threaded
Open this post in threaded view
|

RE: RE:(2) [PATCH v4 4/4] Afar locales: Months and days updated from CLDR (bug 21897).

Akhilesh Kumar
> Thank you for your feedback, Akhilesh.  It is useful and I'm glad
> that we agree.
>  
> If there are no more objections I would like to push my patches,
> all 4 as posted in this list, in about 24 hours.

Oks

Thanks,
Akhilesh
 
Reply | Threaded
Open this post in threaded view
|

RE: RE:(2) [PATCH v4 4/4] Afar locales: Months and days updated from CLDR (bug 21897).

Rafal Luzynski
Four patches which had been posted in this thread have been pushed
to master.  Thank you contributors for your collaboration.

Regards,

Rafal