public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [RFC][PATCH] New language: Lower Sorbian (dsb_DE) [BZ #23208]
@ 2018-06-18 23:07 Rafal Luzynski
  2018-06-18 23:45 ` Rafal Luzynski
  0 siblings, 1 reply; 15+ messages in thread
From: Rafal Luzynski @ 2018-06-18 23:07 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

Here is a work in progress of the new language data which has been
originally posted in Bugzilla:

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

Comments are welcome.  I am going to polish it and commit before the
end of June.

Regards,

Rafal

[-- Attachment #2: 0001-New-language-Lower-Sorbian-dsb_DE-BZ-23208.patch --]
[-- Type: text/x-patch, Size: 7608 bytes --]

From 7df137009b3bbaf5acff9d4cea6b788e95d126da Mon Sep 17 00:00:00 2001
From: Michael Wolf <milupo@sorbzilla.de>
Date: Fri, 8 Jun 2018 01:26:43 +0200
Subject: [PATCH] New language: Lower Sorbian (dsb_DE) [BZ #23208]

	[BZ #23208]
	* localedata/SUPPORTED (dsb_DE.UTF8): New entry.
	* localedata/locales/dsb_DE: New file.
---
 localedata/SUPPORTED      |   1 +
 localedata/locales/dsb_DE | 256 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 257 insertions(+)
 create mode 100644 localedata/locales/dsb_DE

diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index ab5ac11..ee959de 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -119,6 +119,7 @@ de_LU.UTF-8/UTF-8 \
 de_LU/ISO-8859-1 \
 de_LU@euro/ISO-8859-15 \
 doi_IN/UTF-8 \
+dsb_DE.UTF-8/UTF-8 \
 dv_MV/UTF-8 \
 dz_BT/UTF-8 \
 el_GR.UTF-8/UTF-8 \
diff --git a/localedata/locales/dsb_DE b/localedata/locales/dsb_DE
new file mode 100644
index 0000000..71bca81
--- /dev/null
+++ b/localedata/locales/dsb_DE
@@ -0,0 +1,256 @@
+comment_char %
+escape_char /
+
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file.  The foregoing does not
+% affect the license of the GNU C Library as a whole.  It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+% Lower Sorbian Language Locale for Germany
+
+% Source: information from Michael Wolf <milupo at sorbzilla de>
+
+LC_IDENTIFICATION
+title      "Lower Sorbian locale for Germany"
+source     "Information from Michael Wolf"
+address    ""
+contact    ""
+email      ""
+tel        ""
+fax        ""
+language   "Lower Sorbian"
+territory  "Germany"
+revision   "0.1"
+date       ""
+
+category "i18n:2012";LC_IDENTIFICATION
+category "i18n:2012";LC_CTYPE
+category "i18n:2012";LC_COLLATE
+category "i18n:2012";LC_TIME
+category "i18n:2012";LC_NUMERIC
+category "i18n:2012";LC_MONETARY
+category "i18n:2012";LC_MESSAGES
+category "i18n:2012";LC_PAPER
+category "i18n:2012";LC_NAME
+category "i18n:2012";LC_ADDRESS
+category "i18n:2012";LC_TELEPHONE
+category "i18n:2012";LC_MEASUREMENT
+END LC_IDENTIFICATION
+
+LC_COLLATE
+copy "iso14651_t1"
+
+% CLDR collation rules for Lower Sorbian:
+% (see:https://unicode.org/cldr/trac/browser/trunk/common/collation/dsb.xml)
+%
+% &C<č<<<Č<ć<<<Ć
+% &E<ě<<<Ě
+% &H<ch<<<cH<<<Ch<<<CH
+% &[before 1] L<ł<<<Ł
+% &N<ń<<<Ń
+% &O<ó<<<Ó
+% &R<ŕ<<<Ŕ
+% &S<š<<<Š<ś<<<Ś
+% &Z<ž<<<Ž<ź<<<Ź
+%
+% And CLDR also lists the following
+% index characters:
+% (see: https://unicode.org/cldr/trac/browser/trunk/common/main/dsb.xml)
+%
+% <exemplarCharacters type="index">[A B C Č Ć D E F G H {Ch} I J K Ł L M N O P Q R S Š Ś T U V W X Y Z Ž Ź]</exemplarCharacters>
+% <exemplarCharacters>[a b c č ć d e ě f g h {ch} i j k ł l m n ń o ó p q r ŕ s š ś t u v w x y z ž ź]</exemplarCharacters>
+
+% The characters ě, ń, ó, ŕ are usually used as lower case characters only,
+% only in fully capitalized words they exist as upper case characters
+% In contrast to Upper Sorbian, the character ř does not exist in Lower Sorbian
+
+
+
+
+
+
+collating-element <c-h> from "<U0063><U0068>"
+collating-element <c-H> from "<U0063><U0048>"
+collating-element <C-h> from "<U0043><U0068>"
+collating-element <C-H> from "<U0043><U0048>"
+
+collating-symbol <c-caron>
+collating-symbol <c-acute>
+collating-symbol <d-z-acute-digraph>
+collating-symbol <e-caron>
+collating-symbol <c-h-digraph>
+collating-symbol <l-stroke>
+collating symbol <n-acute>
+collating symbol <o-acute>
+collating-symbol <r-acute>
+collating-symbol <s-caron>
+collating-symbol <s-acute>
+collating-symbol <z-caron>
+collating-symbol <z-acute>
+
+reorder-after <AFTER-C>
+<c-caron>
+<c-acute>
+reorder-after <AFTER-D>
+<d-z-acute-digraph>
+reorder-after <AFTER-E>
+<e-caron>
+ reorder-after <AFTER-H>
+<c-h-digraph>
+reorder-after <AFTER-K>
+<l-stroke>
+reorder-after <AFTER-N>
+<n-acute>
+reorder-after <AFTER-O>
+<o-acute>
+reorder-after <AFTER-R>
+<r-acute>
+reorder-after <AFTER-S>
+<s-caron>
+<s-acute>
+reorder-after <AFTER-Z>
+<z-caron>
+<z-acute>
+
+<U010D> <c-caron>;<BASE>;<MIN>;IGNORE % č
+<U010C> <c-caron>;<BASE>;<CAP>;IGNORE % Č
+<U0107> <c-acute>;<BASE>;<MIN>;IGNORE % ć
+<U0106> <c-acute>;<BASE>;<CAP>;IGNORE % Ć
+<d-z'> <d-z-acute-digraph>;<BASE>;"<MIN><MIN>";IGNORE % dź
+<d-Z'> <d-z-acute-digraph>;<BASE>;"<MIN><CAP>";IGNORE % dŹ
+<D-z'> <d-z-acute-digraph>;<BASE>;"<CAP><MIN>";IGNORE % Dź
+<D-Z'> <d-z-acute-digraph>;<BASE>;"<CAP><CAP>";IGNORE % DŹ
+<U011B> <e-caron>;<BASE>;<MIN>;IGNORE % ě
+<U011A> <e-caron>;<BASE>;<CAP>;IGNORE % Ě
+<c-h> <c-h-digraph>;<BASE>;"<MIN><MIN>";IGNORE % ch
+<c-H> <c-h-digraph>;<BASE>;"<MIN><CAP>";IGNORE % cH
+<C-h> <c-h-digraph>;<BASE>;"<CAP><MIN>";IGNORE % Ch
+<C-H> <c-h-digraph>;<BASE>;"<CAP><CAP>";IGNORE % CH
+<U0142> <l-stroke>;<BASE>;<MIN>;IGNORE % ł
+<U0141> <l-stroke>;<BASE>;<CAP>;IGNORE % Ł
+<U0144> <n-acute>;<BASE>;<MIN>;IGNORE % ń
+<U0143> <n-acute>;<BASE>;<CAP>;IGNORE % Ń
+<U00F3> <o-acute>;<BASE>;<MIN>;IGNORE % ó
+<U00D3> <o-acute>;<BASE>;<CAP>;IGNORE % Ó
+<U0155> <r-acute>;<BASE>;<MIN>;IGNORE % ŕ
+<U0154> <r-acute>;<BASE>;<CAP>;IGNORE % Ŕ
+<U0161> <s-caron>;<BASE>;<MIN>;IGNORE % š
+<U0160> <s-caron>;<BASE>;<CAP>;IGNORE % Š
+<U015B> <s-acute>;<BASE>;<MIN>;IGNORE % ś
+<U015A> <s-acute>;<BASE>;<CAP>;IGNORE % Ś
+<U017E> <z-caron>;<BASE>;<MIN>;IGNORE % ž
+<U017D> <z-caron>;<BASE>;<CAP>;IGNORE % Ž
+<U017A> <z-acute>;<BASE>;<MIN>;IGNORE % ź
+<U0179> <z-acute>;<BASE>;<CAP>;IGNORE % Ź
+
+reorder-end
+
+END LC_COLLATE
+
+LC_CTYPE
+copy "i18n"
+END LC_CTYPE
+
+LC_MESSAGES
+yesexpr "^[+1hHyY]"
+noexpr  "^[-0nN]"
+yesstr  "jo"
+nostr   "n<U011B>"
+END LC_MESSAGES
+
+LC_MONETARY
+copy "de_DE"
+END LC_MONETARY
+
+LC_NUMERIC
+copy "de_DE"
+END LC_NUMERIC
+
+LC_TIME
+abday   "Nj";"P<U00F3>";/
+        "Wa";"Sr";/
+        "St";"P<U011B>";/
+        "So"
+day     "Nje<U017A>ela";/
+        "P<U00F3>n<U017A>ela";/
+        "Wa<U0142>tora";/
+        "Srjoda";/
+        "Stw<U00F3>rtk";/
+        "P<U011B>tk";/
+        "Sobota"
+abmon   "Jan";"Feb";/
+        "M<U011B>r";"Apr";/
+        "Maj";"Jun";/
+        "Jul";"Awg";/
+        "Sep";"Okt";/
+        "Now";"Dec"
+alt_mon     "Januar";/
+        "Februar";/
+        "M<U011B>rc";/
+        "Apryl";/
+        "Maj";/
+        "Junij";/
+        "Julij";/
+        "Awgust";/
+        "September";/
+        "Oktober";/
+        "Nowember";/
+        "December"
+mon  "januara";/
+        "februara";/
+        "m<U011B>rca";/
+        "apryla";/
+        "maja";/
+        "junija";/
+        "julija";/
+        "awgusta";/
+        "septembra";/
+        "oktobra";/
+        "nowembra";/
+        "decembra"
+d_t_fmt "%a %d %b %Y %T %Z"
+d_fmt   "%d.%m.%Y"
+t_fmt   "%T"
+am_pm   "";""
+t_fmt_ampm ""
+
+week    7;19971130;4
+first_weekday 2
+END LC_TIME
+
+LC_PAPER
+copy "de_DE"
+END LC_PAPER
+
+LC_TELEPHONE
+copy "de_DE"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "de_DE"
+END LC_MEASUREMENT
+
+LC_NAME
+name_fmt    "%d%t%g%t%m%t%f"
+name_miss   "kn<U011B><U017E>na"
+name_mr     "kn<U011B>z"
+name_mrs    "kn<U011B>ni"
+%name_ms     ""
+END LC_NAME
+
+LC_ADDRESS
+postal_fmt    "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
+country_name  "Nimska"
+country_post  "D"
+country_ab2   "DE"
+country_ab3   "DEU"
+country_num   276
+country_car   "D"
+country_isbn  3
+lang_name     "dolnoserb<U0161><U0107>ina"
+lang_ab      ""
+lang_term    "dsb"
+lang_lib     "dsb"
+END LC_ADDRESS
-- 
2.7.5


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

* Re: [RFC][PATCH] New language: Lower Sorbian (dsb_DE) [BZ #23208]
  2018-06-18 23:07 [RFC][PATCH] New language: Lower Sorbian (dsb_DE) [BZ #23208] Rafal Luzynski
@ 2018-06-18 23:45 ` Rafal Luzynski
  2018-06-28 10:32   ` [PATCH v2] " Rafal Luzynski
  0 siblings, 1 reply; 15+ messages in thread
From: Rafal Luzynski @ 2018-06-18 23:45 UTC (permalink / raw)
  To: libc-alpha

And here is my review:

> diff --git a/localedata/locales/dsb_DE b/localedata/locales/dsb_DE
> new file mode 100644
> index 0000000..71bca81
> --- /dev/null
> +++ b/localedata/locales/dsb_DE
> @@ -0,0 +1,256 @@
> +comment_char %
> +escape_char /
> +
> +% This file is part of the GNU C Library and contains locale data.
> +% The Free Software Foundation does not claim any copyright interest
> +% in the locale data contained in this file.  The foregoing does not
> +% affect the license of the GNU C Library as a whole.  It does not
> +% exempt you from the conditions of the license if your use would
> +% otherwise be governed by that license.
> +
> +% Lower Sorbian Language Locale for Germany
> +
> +% Source: information from Michael Wolf <milupo at sorbzilla de>
> +
> +LC_IDENTIFICATION
> +title      "Lower Sorbian locale for Germany"
> +source     "Information from Michael Wolf"
> +address    ""
> +contact    ""
> +email      ""
> +tel        ""
> +fax        ""

It's not obligatory but wouldn't you like to add your personal data here?
If not, then maybe let's add "bug-glibc-locales@gnu.org" as the email?

> [...]
> +LC_COLLATE
> +copy "iso14651_t1"
> +
> +% CLDR collation rules for Lower Sorbian:
> +% (see:https://unicode.org/cldr/trac/browser/trunk/common/collation/dsb.xml)
> +%
> [...]

We have agreed [1] to accept this chunk as is even if it is not perfect
(I'm not telling it is not perfect, I'm just considering a possible case)
so we will have a chance to tweak it in future.

> +% &E<ě<<<Ě
> +% &H<ch<<<cH<<<Ch<<<CH
> +% &[before 1] L<ł<<<Ł
> +% &N<ń<<<Ń
> +% &O<ó<<<Ó
> +% &R<ŕ<<<Ŕ
> +% &S<š<<<Š<ś<<<Ś
> +% &Z<ž<<<Ž<ź<<<Ź
> +%
> +% And CLDR also lists the following
> +% index characters:
> +% (see: https://unicode.org/cldr/trac/browser/trunk/common/main/dsb.xml)
> +%
> +% <exemplarCharacters type="index">[A B C Č Ć D E F G H {Ch} I J K Ł L M N O
> P Q R S Š Ś T U V W X Y Z Ž Ź]</exemplarCharacters>
> +% <exemplarCharacters>[a b c č ć d e ě f g h {ch} i j k ł l m n ń o ó p q r ŕ
> s š ś t u v w x y z ž ź]</exemplarCharacters>
> +
> +% The characters ě, ń, ó, ŕ are usually used as lower case characters only,
> +% only in fully capitalized words they exist as upper case characters
> +% In contrast to Upper Sorbian, the character ř does not exist in Lower
> Sorbian
> +
> +
> +
> +
> +
> +

I think we can collapse this vertical space here.  One empty line
should be sufficient.

> +collating-element <c-h> from "<U0063><U0068>"
> +collating-element <c-H> from "<U0063><U0048>"
> +collating-element <C-h> from "<U0043><U0068>"
> +collating-element <C-H> from "<U0043><U0048>"
> +
> [...]
> +
> +reorder-end
> +
> +END LC_COLLATE
> +
> +LC_CTYPE
> +copy "i18n"
> +END LC_CTYPE

I'm not sure.  I have a feeling that something is missing here.
But if we don't figure out let's leave it as is.

> +LC_MESSAGES
> +yesexpr "^[+1hHyY]"
> +noexpr  "^[-0nN]"
> +yesstr  "jo"
> +nostr   "n<U011B>"
> +END LC_MESSAGES


If "yes" is "jo" in DSB then "yesexpr" must contain "jJ".  Also as it has
been copied from HSB I think that HSB should include "jJ" for the
compatibility with German.  Whether DSB should include "hH" for the
compatibility with HSB... well, it's a question to you if there are DSB
computer users so used to HSB that they may press 'H' as the answer for "yes"?

> +LC_MONETARY
> +copy "de_DE"
> +END LC_MONETARY
> +
> +LC_NUMERIC
> +copy "de_DE"
> +END LC_NUMERIC

Good, copy from "de_DE" whatever is common.

> +LC_TIME
> +abday   "Nj";"P<U00F3>";/
> +        "Wa";"Sr";/
> +        "St";"P<U011B>";/
> +        "So"
> +day     "Nje<U017A>ela";/
> +        "P<U00F3>n<U017A>ela";/

This says: "Pónźela" - CLDR says "pónjeźele".

> +        "Wa<U0142>tora";/
> +        "Srjoda";/
> +        "Stw<U00F3>rtk";/
> +        "P<U011B>tk";/
> +        "Sobota"

Do you want to start all weekday names with uppercase?  According to CLDR
it is not necessary but if you think that weekday names usually appear in
the beginning of the sentence and therefore you want to leave it like this
then it is OK.

> +abmon   "Jan";"Feb";/
> +        "M<U011B>r";"Apr";/
> +        "Maj";"Jun";/
> +        "Jul";"Awg";/
> +        "Sep";"Okt";/
> +        "Now";"Dec"
> +alt_mon     "Januar";/

I will adjust spaces here.

> +        "Februar";/
> +        "M<U011B>rc";/
> +        "Apryl";/
> +        "Maj";/
> +        "Junij";/
> +        "Julij";/
> +        "Awgust";/
> +        "September";/
> +        "Oktober";/
> +        "Nowember";/
> +        "December"

Again, there is no reason to start the month names with the uppercase
unless you think it is good because they will usually appear in the beginning
of a sentence (including standalone).

> +mon  "januara";/

Again I will adjust spaces here.

> +        "februara";/
> +        "m<U011B>rca";/
> +        "apryla";/
> +        "maja";/
> +        "junija";/
> +        "julija";/
> +        "awgusta";/
> +        "septembra";/
> +        "oktobra";/
> +        "nowembra";/
> +        "decembra"
> +d_t_fmt "%a %d %b %Y %T %Z"
> +d_fmt   "%d.%m.%Y"
> +t_fmt   "%T"
> +am_pm   "";""
> +t_fmt_ampm ""
> +
> +week    7;19971130;4
> +first_weekday 2
> +END LC_TIME

Otherwise looks good.

> +LC_PAPER
> +copy "de_DE"
> +END LC_PAPER

Most of the locales use either “copy "i18n"” or “copy "en_US"”.

> +LC_TELEPHONE
> +copy "de_DE"
> +END LC_TELEPHONE
> +
> +LC_MEASUREMENT
> +copy "de_DE"
> +END LC_MEASUREMENT
> +
> +LC_NAME
> +name_fmt    "%d%t%g%t%m%t%f"
> +name_miss   "kn<U011B><U017E>na"
> +name_mr     "kn<U011B>z"
> +name_mrs    "kn<U011B>ni"
> +%name_ms     ""
> +END LC_NAME

What about:

name_ms     "kn<U011B>ni"

> +LC_ADDRESS
> +postal_fmt    "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
> +country_name  "Nimska"
> +country_post  "D"
> +country_ab2   "DE"
> +country_ab3   "DEU"
> +country_num   276
> +country_car   "D"
> +country_isbn  3
> +lang_name     "dolnoserb<U0161><U0107>ina"
> +lang_ab      ""
> +lang_term    "dsb"
> +lang_lib     "dsb"
> +END LC_ADDRESS

I can see this is copied from hsb_DE except few fields which had obligatorily
to be changed.  Therefore I believe this is correct.

Again, thank you Michael.

Regards,

Rafal

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=23208#c4

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

* [PATCH v2] New language: Lower Sorbian (dsb_DE) [BZ #23208]
  2018-06-18 23:45 ` Rafal Luzynski
@ 2018-06-28 10:32   ` Rafal Luzynski
  2018-06-28 10:39     ` Rafal Luzynski
  0 siblings, 1 reply; 15+ messages in thread
From: Rafal Luzynski @ 2018-06-28 10:32 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 4452 bytes --]

It is likely that I will push this patch tomorrow.

In this version I took the freedom to introduce the changes according
to my previous concerns, please see below:

19.06.2018 01:44 Rafal Luzynski <digitalfreak@lingonborough.com> wrote:
>
> And here is my review:
>
> > diff --git a/localedata/locales/dsb_DE b/localedata/locales/dsb_DE
> > [...]
> > +LC_IDENTIFICATION
> > +title "Lower Sorbian locale for Germany"
> > +source "Information from Michael Wolf"
> > +address ""
> > +contact ""
> > +email ""
> > +tel ""
> > +fax ""
>
> It's not obligatory but wouldn't you like to add your personal data here?
> If not, then maybe let's add "bug-glibc-locales@gnu.org" as the email?

Added "bug-glibc-locales@gnu.org".

>
> > [...]
> > +LC_COLLATE
> > +copy "iso14651_t1"
> > +
> > +% CLDR collation rules for Lower Sorbian:
> > +%
> > (see:https://unicode.org/cldr/trac/browser/trunk/common/collation/dsb.xml)
> > +%
> > [...]
>
> We have agreed [1] to accept this chunk as is even if it is not perfect
> (I'm not telling it is not perfect, I'm just considering a possible case)
> so we will have a chance to tweak it in future.

Not changed.

> > + [...]
> > +% The characters ě, ń, ó, ŕ are usually used as lower case characters only,
> > +% only in fully capitalized words they exist as upper case characters
> > +% In contrast to Upper Sorbian, the character ř does not exist in Lower
> > Sorbian
> > +
> > +
> > +
> > +
> > +
> > +
>
> I think we can collapse this vertical space here. One empty line
> should be sufficient.

Done.

> > + [...]
> > +LC_CTYPE
> > +copy "i18n"
> > +END LC_CTYPE
>
> I'm not sure. I have a feeling that something is missing here.
> But if we don't figure out let's leave it as is.

Not changed.

> > +LC_MESSAGES
> > +yesexpr "^[+1hHyY]"
> > +noexpr "^[-0nN]"
> > +yesstr "jo"
> > +nostr "n<U011B>"
> > +END LC_MESSAGES
>
>
> If "yes" is "jo" in DSB then "yesexpr" must contain "jJ". Also as it has
> been copied from HSB I think that HSB should include "jJ" for the
> compatibility with German. Whether DSB should include "hH" for the
> compatibility with HSB... well, it's a question to you if there are DSB
> computer users so used to HSB that they may press 'H' as the answer for "yes"?

"jJ" added, this was necessary.  "hH" left unchanged.  Not needed but
not destructive.


> [...]
> > +LC_TIME
> > +abday "Nj";"P<U00F3>";/
> > + "Wa";"Sr";/
> > + "St";"P<U011B>";/
> > + "So"
> > +day "Nje<U017A>ela";/
> > + "P<U00F3>n<U017A>ela";/
>
> This says: "Pónźela" - CLDR says "pónjeźele".

I have decided to use "Pónjeźele".  This is what CLDR says except that
it is titlecased, same as other day names.  Wikipedia provides another
name but says that "pónjeźele" is also used.

> > + "Wa<U0142>tora";/
> > + "Srjoda";/
> > + "Stw<U00F3>rtk";/
> > + "P<U011B>tk";/
> > + "Sobota"
>
> Do you want to start all weekday names with uppercase? According to CLDR
> it is not necessary but if you think that weekday names usually appear in
> the beginning of the sentence and therefore you want to leave it like this
> then it is OK.

Not changed.

> > +abmon "Jan";"Feb";/
> > + "M<U011B>r";"Apr";/
> > + "Maj";"Jun";/
> > + "Jul";"Awg";/
> > + "Sep";"Okt";/
> > + "Now";"Dec"
> > +alt_mon "Januar";/
>
> I will adjust spaces here.

Adjusted here and in another place.

> [...]
> > +LC_PAPER
> > +copy "de_DE"
> > +END LC_PAPER
>
> Most of the locales use either “copy "i18n"” or “copy "en_US"”.

Changed to “copy "i18n"”.

> > + [...]
> > +LC_NAME
> > +name_fmt "%d%t%g%t%m%t%f"
> > +name_miss "kn<U011B><U017E>na"
> > +name_mr "kn<U011B>z"
> > +name_mrs "kn<U011B>ni"
> > +%name_ms ""
> > +END LC_NAME
>
> What about:
>
> name_ms "kn<U011B>ni"

Added “name_ms "kn<U011B>ni"”

>
> > +LC_ADDRESS
> > +postal_fmt "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
> > +country_name "Nimska"
> > +country_post "D"
> > +country_ab2 "DE"
> > +country_ab3 "DEU"
> > +country_num 276
> > +country_car "D"
> > +country_isbn 3
> > +lang_name "dolnoserb<U0161><U0107>ina"
> > +lang_ab ""
> > +lang_term "dsb"
> > +lang_lib "dsb"
> > +END LC_ADDRESS
>
> I can see this is copied from hsb_DE except few fields which had obligatorily
> to be changed. Therefore I believe this is correct.

Not changed but adjusted spaces.

Regards,

Rafal

[-- Attachment #2: 0001-New-language-Lower-Sorbian-dsb_DE-BZ-23208.patch --]
[-- Type: text/x-patch, Size: 7621 bytes --]

From a9e2e72a8394401e5114946a0f893313aae15d87 Mon Sep 17 00:00:00 2001
From: Michael Wolf <milupo@sorbzilla.de>
Date: Fri, 8 Jun 2018 01:26:43 +0200
Subject: [PATCH] New language: Lower Sorbian (dsb_DE) [BZ #23208]

	[BZ #23208]
	* localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
	* localedata/locales/dsb_DE: New file.
---
 localedata/SUPPORTED      |   1 +
 localedata/locales/dsb_DE | 251 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 252 insertions(+)
 create mode 100644 localedata/locales/dsb_DE

diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 8754b13..74aa15d 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -119,6 +119,7 @@ de_LU.UTF-8/UTF-8 \
 de_LU/ISO-8859-1 \
 de_LU@euro/ISO-8859-15 \
 doi_IN/UTF-8 \
+dsb_DE/UTF-8 \
 dv_MV/UTF-8 \
 dz_BT/UTF-8 \
 el_GR.UTF-8/UTF-8 \
diff --git a/localedata/locales/dsb_DE b/localedata/locales/dsb_DE
new file mode 100644
index 0000000..419d0b3
--- /dev/null
+++ b/localedata/locales/dsb_DE
@@ -0,0 +1,251 @@
+comment_char %
+escape_char /
+
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file.  The foregoing does not
+% affect the license of the GNU C Library as a whole.  It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+% Lower Sorbian Language Locale for Germany
+
+% Source: information from Michael Wolf <milupo at sorbzilla de>
+
+LC_IDENTIFICATION
+title      "Lower Sorbian locale for Germany"
+source     "Information from Michael Wolf"
+address    ""
+contact    ""
+email      "bug-glibc-locales@gnu.org"
+tel        ""
+fax        ""
+language   "Lower Sorbian"
+territory  "Germany"
+revision   "0.1"
+date       ""
+
+category "i18n:2012";LC_IDENTIFICATION
+category "i18n:2012";LC_CTYPE
+category "i18n:2012";LC_COLLATE
+category "i18n:2012";LC_TIME
+category "i18n:2012";LC_NUMERIC
+category "i18n:2012";LC_MONETARY
+category "i18n:2012";LC_MESSAGES
+category "i18n:2012";LC_PAPER
+category "i18n:2012";LC_NAME
+category "i18n:2012";LC_ADDRESS
+category "i18n:2012";LC_TELEPHONE
+category "i18n:2012";LC_MEASUREMENT
+END LC_IDENTIFICATION
+
+LC_COLLATE
+copy "iso14651_t1"
+
+% CLDR collation rules for Lower Sorbian:
+% (see:https://unicode.org/cldr/trac/browser/trunk/common/collation/dsb.xml)
+%
+% &C<č<<<Č<ć<<<Ć
+% &E<ě<<<Ě
+% &H<ch<<<cH<<<Ch<<<CH
+% &[before 1] L<ł<<<Ł
+% &N<ń<<<Ń
+% &O<ó<<<Ó
+% &R<ŕ<<<Ŕ
+% &S<š<<<Š<ś<<<Ś
+% &Z<ž<<<Ž<ź<<<Ź
+%
+% And CLDR also lists the following
+% index characters:
+% (see: https://unicode.org/cldr/trac/browser/trunk/common/main/dsb.xml)
+%
+% <exemplarCharacters type="index">[A B C Č Ć D E F G H {Ch} I J K Ł L M N O P Q R S Š Ś T U V W X Y Z Ž Ź]</exemplarCharacters>
+% <exemplarCharacters>[a b c č ć d e ě f g h {ch} i j k ł l m n ń o ó p q r ŕ s š ś t u v w x y z ž ź]</exemplarCharacters>
+
+% The characters ě, ń, ó, ŕ are usually used as lower case characters only,
+% only in fully capitalized words they exist as upper case characters
+% In contrast to Upper Sorbian, the character ř does not exist in Lower Sorbian
+
+collating-element <c-h> from "<U0063><U0068>"
+collating-element <c-H> from "<U0063><U0048>"
+collating-element <C-h> from "<U0043><U0068>"
+collating-element <C-H> from "<U0043><U0048>"
+
+collating-symbol <c-caron>
+collating-symbol <c-acute>
+collating-symbol <d-z-acute-digraph>
+collating-symbol <e-caron>
+collating-symbol <c-h-digraph>
+collating-symbol <l-stroke>
+collating symbol <n-acute>
+collating symbol <o-acute>
+collating-symbol <r-acute>
+collating-symbol <s-caron>
+collating-symbol <s-acute>
+collating-symbol <z-caron>
+collating-symbol <z-acute>
+
+reorder-after <AFTER-C>
+<c-caron>
+<c-acute>
+reorder-after <AFTER-D>
+<d-z-acute-digraph>
+reorder-after <AFTER-E>
+<e-caron>
+ reorder-after <AFTER-H>
+<c-h-digraph>
+reorder-after <AFTER-K>
+<l-stroke>
+reorder-after <AFTER-N>
+<n-acute>
+reorder-after <AFTER-O>
+<o-acute>
+reorder-after <AFTER-R>
+<r-acute>
+reorder-after <AFTER-S>
+<s-caron>
+<s-acute>
+reorder-after <AFTER-Z>
+<z-caron>
+<z-acute>
+
+<U010D> <c-caron>;<BASE>;<MIN>;IGNORE % č
+<U010C> <c-caron>;<BASE>;<CAP>;IGNORE % Č
+<U0107> <c-acute>;<BASE>;<MIN>;IGNORE % ć
+<U0106> <c-acute>;<BASE>;<CAP>;IGNORE % Ć
+<d-z'> <d-z-acute-digraph>;<BASE>;"<MIN><MIN>";IGNORE % dź
+<d-Z'> <d-z-acute-digraph>;<BASE>;"<MIN><CAP>";IGNORE % dŹ
+<D-z'> <d-z-acute-digraph>;<BASE>;"<CAP><MIN>";IGNORE % Dź
+<D-Z'> <d-z-acute-digraph>;<BASE>;"<CAP><CAP>";IGNORE % DŹ
+<U011B> <e-caron>;<BASE>;<MIN>;IGNORE % ě
+<U011A> <e-caron>;<BASE>;<CAP>;IGNORE % Ě
+<c-h> <c-h-digraph>;<BASE>;"<MIN><MIN>";IGNORE % ch
+<c-H> <c-h-digraph>;<BASE>;"<MIN><CAP>";IGNORE % cH
+<C-h> <c-h-digraph>;<BASE>;"<CAP><MIN>";IGNORE % Ch
+<C-H> <c-h-digraph>;<BASE>;"<CAP><CAP>";IGNORE % CH
+<U0142> <l-stroke>;<BASE>;<MIN>;IGNORE % ł
+<U0141> <l-stroke>;<BASE>;<CAP>;IGNORE % Ł
+<U0144> <n-acute>;<BASE>;<MIN>;IGNORE % ń
+<U0143> <n-acute>;<BASE>;<CAP>;IGNORE % Ń
+<U00F3> <o-acute>;<BASE>;<MIN>;IGNORE % ó
+<U00D3> <o-acute>;<BASE>;<CAP>;IGNORE % Ó
+<U0155> <r-acute>;<BASE>;<MIN>;IGNORE % ŕ
+<U0154> <r-acute>;<BASE>;<CAP>;IGNORE % Ŕ
+<U0161> <s-caron>;<BASE>;<MIN>;IGNORE % š
+<U0160> <s-caron>;<BASE>;<CAP>;IGNORE % Š
+<U015B> <s-acute>;<BASE>;<MIN>;IGNORE % ś
+<U015A> <s-acute>;<BASE>;<CAP>;IGNORE % Ś
+<U017E> <z-caron>;<BASE>;<MIN>;IGNORE % ž
+<U017D> <z-caron>;<BASE>;<CAP>;IGNORE % Ž
+<U017A> <z-acute>;<BASE>;<MIN>;IGNORE % ź
+<U0179> <z-acute>;<BASE>;<CAP>;IGNORE % Ź
+
+reorder-end
+
+END LC_COLLATE
+
+LC_CTYPE
+copy "i18n"
+END LC_CTYPE
+
+LC_MESSAGES
+yesexpr "^[+1jJhHyY]"
+noexpr  "^[-0nN]"
+yesstr  "jo"
+nostr   "n<U011B>"
+END LC_MESSAGES
+
+LC_MONETARY
+copy "de_DE"
+END LC_MONETARY
+
+LC_NUMERIC
+copy "de_DE"
+END LC_NUMERIC
+
+LC_TIME
+abday   "Nj";"P<U00F3>";/
+        "Wa";"Sr";/
+        "St";"P<U011B>";/
+        "So"
+day     "Nje<U017A>ela";/
+        "P<U00F3>nje<U017A>ele";/
+        "Wa<U0142>tora";/
+        "Srjoda";/
+        "Stw<U00F3>rtk";/
+        "P<U011B>tk";/
+        "Sobota"
+abmon   "Jan";"Feb";/
+        "M<U011B>r";"Apr";/
+        "Maj";"Jun";/
+        "Jul";"Awg";/
+        "Sep";"Okt";/
+        "Now";"Dec"
+alt_mon "Januar";/
+        "Februar";/
+        "M<U011B>rc";/
+        "Apryl";/
+        "Maj";/
+        "Junij";/
+        "Julij";/
+        "Awgust";/
+        "September";/
+        "Oktober";/
+        "Nowember";/
+        "December"
+mon     "januara";/
+        "februara";/
+        "m<U011B>rca";/
+        "apryla";/
+        "maja";/
+        "junija";/
+        "julija";/
+        "awgusta";/
+        "septembra";/
+        "oktobra";/
+        "nowembra";/
+        "decembra"
+d_t_fmt "%a %d %b %Y %T %Z"
+d_fmt   "%d.%m.%Y"
+t_fmt   "%T"
+am_pm   "";""
+t_fmt_ampm ""
+
+week    7;19971130;4
+first_weekday 2
+END LC_TIME
+
+LC_PAPER
+copy "i18n"
+END LC_PAPER
+
+LC_TELEPHONE
+copy "de_DE"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "de_DE"
+END LC_MEASUREMENT
+
+LC_NAME
+name_fmt    "%d%t%g%t%m%t%f"
+name_miss   "kn<U011B><U017E>na"
+name_mr     "kn<U011B>z"
+name_mrs    "kn<U011B>ni"
+name_ms     "kn<U011B>ni"
+END LC_NAME
+
+LC_ADDRESS
+postal_fmt   "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
+country_name "Nimska"
+country_post "D"
+country_ab2  "DE"
+country_ab3  "DEU"
+country_num  276
+country_car  "D"
+country_isbn 3
+lang_name    "dolnoserb<U0161><U0107>ina"
+lang_ab      ""
+lang_term    "dsb"
+lang_lib     "dsb"
+END LC_ADDRESS
-- 
2.7.5


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

* Re: [PATCH v2] New language: Lower Sorbian (dsb_DE) [BZ #23208]
  2018-06-28 10:32   ` [PATCH v2] " Rafal Luzynski
@ 2018-06-28 10:39     ` Rafal Luzynski
  2018-06-28 15:54       ` Joseph Myers
  0 siblings, 1 reply; 15+ messages in thread
From: Rafal Luzynski @ 2018-06-28 10:39 UTC (permalink / raw)
  To: libc-alpha

These may be more general questions:

1. Is it OK to use someone else's name and email if that person had
   contributed the content but not in the proper git format-patch format?
   I have a similar problem in bug 22996. [1]
2. Should I mention Lower Sorbian as a newly added language in NEWS?
   I think that so far we were not listing newly added languages but
   I think there is some kind of unjustice when we list the languages
   which have started using the nominative/genitive month names since
   this release while we do not mention a new language which uses
   the nominative/genitive month names from the first day just because
   it has not existed before.

Regards,

Rafal


[1] https://sourceware.org/bugzilla/show_bug.cgi?id=22996

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

* Re: [PATCH v2] New language: Lower Sorbian (dsb_DE) [BZ #23208]
  2018-06-28 10:39     ` Rafal Luzynski
@ 2018-06-28 15:54       ` Joseph Myers
  2018-06-29  8:43         ` [PATCH v3] " Rafal Luzynski
  0 siblings, 1 reply; 15+ messages in thread
From: Joseph Myers @ 2018-06-28 15:54 UTC (permalink / raw)
  To: Rafal Luzynski; +Cc: libc-alpha

On Thu, 28 Jun 2018, Rafal Luzynski wrote:

> These may be more general questions:
> 
> 1. Is it OK to use someone else's name and email if that person had
>    contributed the content but not in the proper git format-patch format?
>    I have a similar problem in bug 22996. [1]

I think the git commit author should be the main author of the changes, 
whether or not submitted as a proper patch.

> 2. Should I mention Lower Sorbian as a newly added language in NEWS?

I think new locales should always be mentioned in NEWS.

-- 
Joseph S. Myers
joseph@codesourcery.com

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

* [PATCH v3] New language: Lower Sorbian (dsb_DE) [BZ #23208]
  2018-06-28 15:54       ` Joseph Myers
@ 2018-06-29  8:43         ` Rafal Luzynski
  2018-06-29 21:25           ` Rafal Luzynski
  0 siblings, 1 reply; 15+ messages in thread
From: Rafal Luzynski @ 2018-06-29  8:43 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

28.06.2018 17:54 Joseph Myers <joseph@codesourcery.com> wrote:
>
> On Thu, 28 Jun 2018, Rafal Luzynski wrote:
>
> [...]
> > 2. Should I mention Lower Sorbian as a newly added language in NEWS?
>
> I think new locales should always be mentioned in NEWS.

Thank you for clarification, Joseph.  I have reviewed NEWS and I can see
that new locales usually have their Bugzilla tickets and therefore they
are reflected in the list of bugs fixed.

However, given the special case when the new locale supports the new feature
which we list explicitly for already existing locales I have added this
to NEWS.  I hope that the attached patch is correct and I'm going to
push it later today.

Regards,

Rafal

[-- Attachment #2: 0001-New-language-Lower-Sorbian-dsb_DE-BZ-23208.patch --]
[-- Type: text/x-patch, Size: 8101 bytes --]

From f135fcdc9f9a8d33be19c80a1f7feebe3943ffb2 Mon Sep 17 00:00:00 2001
From: Michael Wolf <milupo@sorbzilla.de>
Date: Fri, 8 Jun 2018 01:26:43 +0200
Subject: [PATCH] New language: Lower Sorbian (dsb_DE) [BZ #23208]

	[BZ #23208]
	* localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
	* localedata/locales/dsb_DE: New file.
---
 NEWS                      |   3 +
 localedata/SUPPORTED      |   1 +
 localedata/locales/dsb_DE | 251 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 255 insertions(+)
 create mode 100644 localedata/locales/dsb_DE

diff --git a/NEWS b/NEWS
index 9d6fc08..9666223 100644
--- a/NEWS
+++ b/NEWS
@@ -29,6 +29,9 @@ Major new features:
   and Walloon.  The following languages now support abbreviated alternative
   month names: Catalan, Greek, and Kashubian.
 
+* New locale added: Lower Sorbian (dsb_DE), including the support of the
+  nominative and genitive month names.
+
 * Building and running on GNU/Hurd systems now works without out-of-tree
   patches.
 
diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 8754b13..74aa15d 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -119,6 +119,7 @@ de_LU.UTF-8/UTF-8 \
 de_LU/ISO-8859-1 \
 de_LU@euro/ISO-8859-15 \
 doi_IN/UTF-8 \
+dsb_DE/UTF-8 \
 dv_MV/UTF-8 \
 dz_BT/UTF-8 \
 el_GR.UTF-8/UTF-8 \
diff --git a/localedata/locales/dsb_DE b/localedata/locales/dsb_DE
new file mode 100644
index 0000000..419d0b3
--- /dev/null
+++ b/localedata/locales/dsb_DE
@@ -0,0 +1,251 @@
+comment_char %
+escape_char /
+
+% This file is part of the GNU C Library and contains locale data.
+% The Free Software Foundation does not claim any copyright interest
+% in the locale data contained in this file.  The foregoing does not
+% affect the license of the GNU C Library as a whole.  It does not
+% exempt you from the conditions of the license if your use would
+% otherwise be governed by that license.
+
+% Lower Sorbian Language Locale for Germany
+
+% Source: information from Michael Wolf <milupo at sorbzilla de>
+
+LC_IDENTIFICATION
+title      "Lower Sorbian locale for Germany"
+source     "Information from Michael Wolf"
+address    ""
+contact    ""
+email      "bug-glibc-locales@gnu.org"
+tel        ""
+fax        ""
+language   "Lower Sorbian"
+territory  "Germany"
+revision   "0.1"
+date       ""
+
+category "i18n:2012";LC_IDENTIFICATION
+category "i18n:2012";LC_CTYPE
+category "i18n:2012";LC_COLLATE
+category "i18n:2012";LC_TIME
+category "i18n:2012";LC_NUMERIC
+category "i18n:2012";LC_MONETARY
+category "i18n:2012";LC_MESSAGES
+category "i18n:2012";LC_PAPER
+category "i18n:2012";LC_NAME
+category "i18n:2012";LC_ADDRESS
+category "i18n:2012";LC_TELEPHONE
+category "i18n:2012";LC_MEASUREMENT
+END LC_IDENTIFICATION
+
+LC_COLLATE
+copy "iso14651_t1"
+
+% CLDR collation rules for Lower Sorbian:
+% (see:https://unicode.org/cldr/trac/browser/trunk/common/collation/dsb.xml)
+%
+% &C<č<<<Č<ć<<<Ć
+% &E<ě<<<Ě
+% &H<ch<<<cH<<<Ch<<<CH
+% &[before 1] L<ł<<<Ł
+% &N<ń<<<Ń
+% &O<ó<<<Ó
+% &R<ŕ<<<Ŕ
+% &S<š<<<Š<ś<<<Ś
+% &Z<ž<<<Ž<ź<<<Ź
+%
+% And CLDR also lists the following
+% index characters:
+% (see: https://unicode.org/cldr/trac/browser/trunk/common/main/dsb.xml)
+%
+% <exemplarCharacters type="index">[A B C Č Ć D E F G H {Ch} I J K Ł L M N O P Q R S Š Ś T U V W X Y Z Ž Ź]</exemplarCharacters>
+% <exemplarCharacters>[a b c č ć d e ě f g h {ch} i j k ł l m n ń o ó p q r ŕ s š ś t u v w x y z ž ź]</exemplarCharacters>
+
+% The characters ě, ń, ó, ŕ are usually used as lower case characters only,
+% only in fully capitalized words they exist as upper case characters
+% In contrast to Upper Sorbian, the character ř does not exist in Lower Sorbian
+
+collating-element <c-h> from "<U0063><U0068>"
+collating-element <c-H> from "<U0063><U0048>"
+collating-element <C-h> from "<U0043><U0068>"
+collating-element <C-H> from "<U0043><U0048>"
+
+collating-symbol <c-caron>
+collating-symbol <c-acute>
+collating-symbol <d-z-acute-digraph>
+collating-symbol <e-caron>
+collating-symbol <c-h-digraph>
+collating-symbol <l-stroke>
+collating symbol <n-acute>
+collating symbol <o-acute>
+collating-symbol <r-acute>
+collating-symbol <s-caron>
+collating-symbol <s-acute>
+collating-symbol <z-caron>
+collating-symbol <z-acute>
+
+reorder-after <AFTER-C>
+<c-caron>
+<c-acute>
+reorder-after <AFTER-D>
+<d-z-acute-digraph>
+reorder-after <AFTER-E>
+<e-caron>
+ reorder-after <AFTER-H>
+<c-h-digraph>
+reorder-after <AFTER-K>
+<l-stroke>
+reorder-after <AFTER-N>
+<n-acute>
+reorder-after <AFTER-O>
+<o-acute>
+reorder-after <AFTER-R>
+<r-acute>
+reorder-after <AFTER-S>
+<s-caron>
+<s-acute>
+reorder-after <AFTER-Z>
+<z-caron>
+<z-acute>
+
+<U010D> <c-caron>;<BASE>;<MIN>;IGNORE % č
+<U010C> <c-caron>;<BASE>;<CAP>;IGNORE % Č
+<U0107> <c-acute>;<BASE>;<MIN>;IGNORE % ć
+<U0106> <c-acute>;<BASE>;<CAP>;IGNORE % Ć
+<d-z'> <d-z-acute-digraph>;<BASE>;"<MIN><MIN>";IGNORE % dź
+<d-Z'> <d-z-acute-digraph>;<BASE>;"<MIN><CAP>";IGNORE % dŹ
+<D-z'> <d-z-acute-digraph>;<BASE>;"<CAP><MIN>";IGNORE % Dź
+<D-Z'> <d-z-acute-digraph>;<BASE>;"<CAP><CAP>";IGNORE % DŹ
+<U011B> <e-caron>;<BASE>;<MIN>;IGNORE % ě
+<U011A> <e-caron>;<BASE>;<CAP>;IGNORE % Ě
+<c-h> <c-h-digraph>;<BASE>;"<MIN><MIN>";IGNORE % ch
+<c-H> <c-h-digraph>;<BASE>;"<MIN><CAP>";IGNORE % cH
+<C-h> <c-h-digraph>;<BASE>;"<CAP><MIN>";IGNORE % Ch
+<C-H> <c-h-digraph>;<BASE>;"<CAP><CAP>";IGNORE % CH
+<U0142> <l-stroke>;<BASE>;<MIN>;IGNORE % ł
+<U0141> <l-stroke>;<BASE>;<CAP>;IGNORE % Ł
+<U0144> <n-acute>;<BASE>;<MIN>;IGNORE % ń
+<U0143> <n-acute>;<BASE>;<CAP>;IGNORE % Ń
+<U00F3> <o-acute>;<BASE>;<MIN>;IGNORE % ó
+<U00D3> <o-acute>;<BASE>;<CAP>;IGNORE % Ó
+<U0155> <r-acute>;<BASE>;<MIN>;IGNORE % ŕ
+<U0154> <r-acute>;<BASE>;<CAP>;IGNORE % Ŕ
+<U0161> <s-caron>;<BASE>;<MIN>;IGNORE % š
+<U0160> <s-caron>;<BASE>;<CAP>;IGNORE % Š
+<U015B> <s-acute>;<BASE>;<MIN>;IGNORE % ś
+<U015A> <s-acute>;<BASE>;<CAP>;IGNORE % Ś
+<U017E> <z-caron>;<BASE>;<MIN>;IGNORE % ž
+<U017D> <z-caron>;<BASE>;<CAP>;IGNORE % Ž
+<U017A> <z-acute>;<BASE>;<MIN>;IGNORE % ź
+<U0179> <z-acute>;<BASE>;<CAP>;IGNORE % Ź
+
+reorder-end
+
+END LC_COLLATE
+
+LC_CTYPE
+copy "i18n"
+END LC_CTYPE
+
+LC_MESSAGES
+yesexpr "^[+1jJhHyY]"
+noexpr  "^[-0nN]"
+yesstr  "jo"
+nostr   "n<U011B>"
+END LC_MESSAGES
+
+LC_MONETARY
+copy "de_DE"
+END LC_MONETARY
+
+LC_NUMERIC
+copy "de_DE"
+END LC_NUMERIC
+
+LC_TIME
+abday   "Nj";"P<U00F3>";/
+        "Wa";"Sr";/
+        "St";"P<U011B>";/
+        "So"
+day     "Nje<U017A>ela";/
+        "P<U00F3>nje<U017A>ele";/
+        "Wa<U0142>tora";/
+        "Srjoda";/
+        "Stw<U00F3>rtk";/
+        "P<U011B>tk";/
+        "Sobota"
+abmon   "Jan";"Feb";/
+        "M<U011B>r";"Apr";/
+        "Maj";"Jun";/
+        "Jul";"Awg";/
+        "Sep";"Okt";/
+        "Now";"Dec"
+alt_mon "Januar";/
+        "Februar";/
+        "M<U011B>rc";/
+        "Apryl";/
+        "Maj";/
+        "Junij";/
+        "Julij";/
+        "Awgust";/
+        "September";/
+        "Oktober";/
+        "Nowember";/
+        "December"
+mon     "januara";/
+        "februara";/
+        "m<U011B>rca";/
+        "apryla";/
+        "maja";/
+        "junija";/
+        "julija";/
+        "awgusta";/
+        "septembra";/
+        "oktobra";/
+        "nowembra";/
+        "decembra"
+d_t_fmt "%a %d %b %Y %T %Z"
+d_fmt   "%d.%m.%Y"
+t_fmt   "%T"
+am_pm   "";""
+t_fmt_ampm ""
+
+week    7;19971130;4
+first_weekday 2
+END LC_TIME
+
+LC_PAPER
+copy "i18n"
+END LC_PAPER
+
+LC_TELEPHONE
+copy "de_DE"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "de_DE"
+END LC_MEASUREMENT
+
+LC_NAME
+name_fmt    "%d%t%g%t%m%t%f"
+name_miss   "kn<U011B><U017E>na"
+name_mr     "kn<U011B>z"
+name_mrs    "kn<U011B>ni"
+name_ms     "kn<U011B>ni"
+END LC_NAME
+
+LC_ADDRESS
+postal_fmt   "%f%N%a%N%d%N%b%N%s %h %e %r%N%z %T%N%c%N"
+country_name "Nimska"
+country_post "D"
+country_ab2  "DE"
+country_ab3  "DEU"
+country_num  276
+country_car  "D"
+country_isbn 3
+lang_name    "dolnoserb<U0161><U0107>ina"
+lang_ab      ""
+lang_term    "dsb"
+lang_lib     "dsb"
+END LC_ADDRESS
-- 
2.7.5


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

* Re: [PATCH v3] New language: Lower Sorbian (dsb_DE) [BZ #23208]
  2018-06-29  8:43         ` [PATCH v3] " Rafal Luzynski
@ 2018-06-29 21:25           ` Rafal Luzynski
  2018-07-10 21:05             ` Tulio Magno Quites Machado Filho
  0 siblings, 1 reply; 15+ messages in thread
From: Rafal Luzynski @ 2018-06-29 21:25 UTC (permalink / raw)
  To: libc-alpha

I have committed this version with minor reword of the commit comment:
"language" -> "locale".

Regards,

Rafal

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

* Re: [PATCH v3] New language: Lower Sorbian (dsb_DE) [BZ #23208]
  2018-06-29 21:25           ` Rafal Luzynski
@ 2018-07-10 21:05             ` Tulio Magno Quites Machado Filho
  2018-07-10 23:52               ` Rafal Luzynski
  0 siblings, 1 reply; 15+ messages in thread
From: Tulio Magno Quites Machado Filho @ 2018-07-10 21:05 UTC (permalink / raw)
  To: Rafal Luzynski, libc-alpha

Rafal Luzynski <digitalfreak@lingonborough.com> writes:

> I have committed this version with minor reword of the commit comment:
> "language" -> "locale".

Anyone else seeing the following errors when installing this locale?

locales/dsb_DE:80: LC_COLLATE: syntax error
locales/dsb_DE:81: LC_COLLATE: syntax error

-- 
Tulio Magno

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

* Re: [PATCH v3] New language: Lower Sorbian (dsb_DE) [BZ #23208]
  2018-07-10 21:05             ` Tulio Magno Quites Machado Filho
@ 2018-07-10 23:52               ` Rafal Luzynski
  2018-07-11 12:58                 ` Tulio Magno Quites Machado Filho
  0 siblings, 1 reply; 15+ messages in thread
From: Rafal Luzynski @ 2018-07-10 23:52 UTC (permalink / raw)
  To: libc-alpha, Tulio Magno Quites Machado Filho

10.07.2018 23:05 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> wrote:
>
> Rafal Luzynski <digitalfreak@lingonborough.com> writes:
>
> > I have committed this version with minor reword of the commit comment:
> > "language" -> "locale".
>
> Anyone else seeing the following errors when installing this locale?
>
> locales/dsb_DE:80: LC_COLLATE: syntax error
> locales/dsb_DE:81: LC_COLLATE: syntax error

I can't see.  Do you mean "make install" or installing a binary, like
"dnf update glibc" or "dnf install glibc-langpack-dsb"?  If a binary,
what distro is this?

Also I can't see anything unusual in lines 80 and 81.

Regards,

Rafal

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

* Re: [PATCH v3] New language: Lower Sorbian (dsb_DE) [BZ #23208]
  2018-07-10 23:52               ` Rafal Luzynski
@ 2018-07-11 12:58                 ` Tulio Magno Quites Machado Filho
  2018-07-11 21:56                   ` Rafal Luzynski
  0 siblings, 1 reply; 15+ messages in thread
From: Tulio Magno Quites Machado Filho @ 2018-07-11 12:58 UTC (permalink / raw)
  To: Rafal Luzynski, libc-alpha

Rafal Luzynski <digitalfreak@lingonborough.com> writes:

> 10.07.2018 23:05 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> wrote:
>>
>> Rafal Luzynski <digitalfreak@lingonborough.com> writes:
>>
>> > I have committed this version with minor reword of the commit comment:
>> > "language" -> "locale".
>>
>> Anyone else seeing the following errors when installing this locale?
>>
>> locales/dsb_DE:80: LC_COLLATE: syntax error
>> locales/dsb_DE:81: LC_COLLATE: syntax error
>
> I can't see.  Do you mean "make install" or installing a binary, like
> "dnf update glibc" or "dnf install glibc-langpack-dsb"?  If a binary,
> what distro is this?

It's a make command, but not just "make install":
https://sourceware.org/glibc/wiki/Locales#Testing_Locales

More like:
    make localedata/install-locales install_root=(configure's --prefix) 

-- 
Tulio Magno

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

* Re: [PATCH v3] New language: Lower Sorbian (dsb_DE) [BZ #23208]
  2018-07-11 12:58                 ` Tulio Magno Quites Machado Filho
@ 2018-07-11 21:56                   ` Rafal Luzynski
  2018-07-11 21:59                     ` [PATCH] dsb_DE locale: Fix syntax error and add tests (bug 23208) Rafal Luzynski
  0 siblings, 1 reply; 15+ messages in thread
From: Rafal Luzynski @ 2018-07-11 21:56 UTC (permalink / raw)
  To: libc-alpha, Tulio Magno Quites Machado Filho

11.07.2018 14:58 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> wrote:
>
> Rafal Luzynski <digitalfreak@lingonborough.com> writes:
>
> > 10.07.2018 23:05 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
> > wrote:
> >> [...]
> >> Anyone else seeing the following errors when installing this locale?
> >>
> >> locales/dsb_DE:80: LC_COLLATE: syntax error
> >> locales/dsb_DE:81: LC_COLLATE: syntax error
> >
> > I can't see. Do you mean "make install" or installing a binary, like
> > "dnf update glibc" or "dnf install glibc-langpack-dsb"? If a binary,
> > what distro is this?
>
> It's a make command, but not just "make install":
> https://sourceware.org/glibc/wiki/Locales#Testing_Locales
>
> More like:
> make localedata/install-locales install_root=(configure's --prefix)

OK, it is also visible in glibc build logs in koji.fedoraproject.org.
However, this error is ignored by scripts and binaries ar generated and
there are no further error messages.

Indeed, there is a syntax error.  Thank you for spotting it!  I have fixed
this and added a test to make sure this bug is spotted earlier in case of
a regression.

OK to commit to master?  As we are in the slushy freeze period I will not
commit without a review.

(The patch follows in the next message)

Regards,

Rafal

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

* [PATCH] dsb_DE locale: Fix syntax error and add tests (bug 23208).
  2018-07-11 21:56                   ` Rafal Luzynski
@ 2018-07-11 21:59                     ` Rafal Luzynski
  2018-07-13 15:02                       ` Tulio Magno Quites Machado Filho
  2018-07-13 21:09                       ` Rafal Luzynski
  0 siblings, 2 replies; 15+ messages in thread
From: Rafal Luzynski @ 2018-07-11 21:59 UTC (permalink / raw)
  To: libc-alpha

Fixed syntax error in the collation rules of Lower Sorbian language.
Collation test added in order to test the bugs like this early.

Reported-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>

	[BZ #23208]
	* localedata/Makefile (test-input): Add dsb_DE.UTF-8.
	(LOCALES): Likewise.
	* localedata/dsb_DE.UTF-8.in: New file.
	* localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
---
 localedata/Makefile        |  2 ++
 localedata/dsb_DE.UTF-8.in | 73 ++++++++++++++++++++++++++++++++++++++++++++++
 localedata/locales/dsb_DE  |  4 +--
 3 files changed, 77 insertions(+), 2 deletions(-)
 create mode 100644 localedata/dsb_DE.UTF-8.in

diff --git a/localedata/Makefile b/localedata/Makefile
index 2e6e0dc..5ac4f74 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -55,6 +55,7 @@ test-input := \
 	cy_GB.UTF-8 \
 	da_DK.ISO-8859-1 \
 	de_DE.ISO-8859-1 \
+	dsb_DE.UTF-8 \
 	dz_BT.UTF-8 \
 	en_US.ISO-8859-1 \
 	eo.UTF-8 \
@@ -200,6 +201,7 @@ LOCALES := \
 	da_DK.ISO-8859-1 \
 	de_DE.ISO-8859-1 \
 	de_DE.UTF-8 \
+	dsb_DE.UTF-8 \
 	dz_BT.UTF-8 \
 	en_GB.UTF-8 \
 	en_US.ANSI_X3.4-1968 \
diff --git a/localedata/dsb_DE.UTF-8.in b/localedata/dsb_DE.UTF-8.in
new file mode 100644
index 0000000..adc5713
--- /dev/null
+++ b/localedata/dsb_DE.UTF-8.in
@@ -0,0 +1,73 @@
+a
+A
+b
+B
+c
+C
+č
+Č
+ć
+d
+D
+dź
+Dź
+e
+E
+ě
+f
+F
+g
+G
+h
+H
+ch
+Ch
+i
+I
+j
+J
+k
+K
+ł
+Ł
+l
+L
+m
+M
+n
+N
+ń
+o
+O
+ó
+p
+P
+q
+Q
+r
+R
+ŕ
+s
+S
+š
+Š
+ś
+Ś
+t
+T
+u
+U
+v
+V
+w
+W
+x
+X
+y
+Y
+z
+Z
+ž
+Ž
+ź
+Ź
diff --git a/localedata/locales/dsb_DE b/localedata/locales/dsb_DE
index 419d0b3..7f51b82 100644
--- a/localedata/locales/dsb_DE
+++ b/localedata/locales/dsb_DE
@@ -77,8 +77,8 @@ collating-symbol <d-z-acute-digraph>
 collating-symbol <e-caron>
 collating-symbol <c-h-digraph>
 collating-symbol <l-stroke>
-collating symbol <n-acute>
-collating symbol <o-acute>
+collating-symbol <n-acute>
+collating-symbol <o-acute>
 collating-symbol <r-acute>
 collating-symbol <s-caron>
 collating-symbol <s-acute>
-- 
2.7.5

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

* Re: [PATCH] dsb_DE locale: Fix syntax error and add tests (bug 23208).
  2018-07-11 21:59                     ` [PATCH] dsb_DE locale: Fix syntax error and add tests (bug 23208) Rafal Luzynski
@ 2018-07-13 15:02                       ` Tulio Magno Quites Machado Filho
  2018-07-13 19:47                         ` Rafal Luzynski
  2018-07-13 21:09                       ` Rafal Luzynski
  1 sibling, 1 reply; 15+ messages in thread
From: Tulio Magno Quites Machado Filho @ 2018-07-13 15:02 UTC (permalink / raw)
  To: Rafal Luzynski, libc-alpha

Rafal Luzynski <digitalfreak@lingonborough.com> writes:

> Fixed syntax error in the collation rules of Lower Sorbian language.
> Collation test added in order to test the bugs like this early.
>
> Reported-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
>
> 	[BZ #23208]
> 	* localedata/Makefile (test-input): Add dsb_DE.UTF-8.
> 	(LOCALES): Likewise.
> 	* localedata/dsb_DE.UTF-8.in: New file.
> 	* localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.

I confirmed this patch does fix the issue.

Thanks!

-- 
Tulio Magno

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

* Re: [PATCH] dsb_DE locale: Fix syntax error and add tests (bug 23208).
  2018-07-13 15:02                       ` Tulio Magno Quites Machado Filho
@ 2018-07-13 19:47                         ` Rafal Luzynski
  0 siblings, 0 replies; 15+ messages in thread
From: Rafal Luzynski @ 2018-07-13 19:47 UTC (permalink / raw)
  To: libc-alpha, Tulio Magno Quites Machado Filho

13.07.2018 17:02 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> wrote:
>
> Rafal Luzynski <digitalfreak@lingonborough.com> writes:
>
> > Fixed syntax error in the collation rules of Lower Sorbian language.
> > Collation test added in order to test the bugs like this early.
> >
> > Reported-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
> >
> > [BZ #23208]
> > * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
> > (LOCALES): Likewise.
> > * localedata/dsb_DE.UTF-8.in: New file.
> > * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
>
> I confirmed this patch does fix the issue.
>
> Thanks!

Since the patch fixes an actual bug and changes of the locale data are
usually not harmful for the rest of the project I assume this review
is sufficient and I'm going to push this patch now.

Regards,

Rafal

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

* Re: [PATCH] dsb_DE locale: Fix syntax error and add tests (bug 23208).
  2018-07-11 21:59                     ` [PATCH] dsb_DE locale: Fix syntax error and add tests (bug 23208) Rafal Luzynski
  2018-07-13 15:02                       ` Tulio Magno Quites Machado Filho
@ 2018-07-13 21:09                       ` Rafal Luzynski
  1 sibling, 0 replies; 15+ messages in thread
From: Rafal Luzynski @ 2018-07-13 21:09 UTC (permalink / raw)
  To: libc-alpha

11.07.2018 23:59 Rafal Luzynski <digitalfreak@lingonborough.com> wrote:
>
> Fixed syntax error in the collation rules of Lower Sorbian language.
> Collation test added in order to test the bugs like this early.
>
> Reported-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
>
> [BZ #23208]
> * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
> (LOCALES): Likewise.
> * localedata/dsb_DE.UTF-8.in: New file.
> * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
> ---

This patch has been pushed to master.

Regards,

Rafal

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

end of thread, other threads:[~2018-07-13 21:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-18 23:07 [RFC][PATCH] New language: Lower Sorbian (dsb_DE) [BZ #23208] Rafal Luzynski
2018-06-18 23:45 ` Rafal Luzynski
2018-06-28 10:32   ` [PATCH v2] " Rafal Luzynski
2018-06-28 10:39     ` Rafal Luzynski
2018-06-28 15:54       ` Joseph Myers
2018-06-29  8:43         ` [PATCH v3] " Rafal Luzynski
2018-06-29 21:25           ` Rafal Luzynski
2018-07-10 21:05             ` Tulio Magno Quites Machado Filho
2018-07-10 23:52               ` Rafal Luzynski
2018-07-11 12:58                 ` Tulio Magno Quites Machado Filho
2018-07-11 21:56                   ` Rafal Luzynski
2018-07-11 21:59                     ` [PATCH] dsb_DE locale: Fix syntax error and add tests (bug 23208) Rafal Luzynski
2018-07-13 15:02                       ` Tulio Magno Quites Machado Filho
2018-07-13 19:47                         ` Rafal Luzynski
2018-07-13 21:09                       ` Rafal Luzynski

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).