[PATCH] Define ISO 639-3 "ltg" (Latgalian) and add ltg_LV locale

Mike FABIAN mfabian@redhat.com
Tue Jun 11 21:17:42 GMT 2024


Andreas Schwab <schwab@suse.de> さんはかきました:

> On Jun 11 2024, Mike FABIAN wrote:
>
>> +% Months, LVS 24:1993 6.3.3.
>> +% janvars, februars, marts, apreļs, majs, juņs, juļs, augusts, septembris, oktobris, novembris, decembris
>> +% LV:  jan, feb, mar, apr, mai, jūn, jūl, aug, sep, okt, nov, dec
>> +% LTG: jan, feb, mar, apr, maj, juņ, juļ, aug, sep, okt, nov, dec
>> +
>> +% Dienas, LVS 24:1993 6.3.1.
>> +% pyrmūdīne, ūtardīne, trešdīne, catūrtdīne, pīktdīne, sastdīne, svātdīne
>> +% LV:  P, O, T, C, Pk, S, Sv
>> +% LTG: P, Ū, T, C, Pk, S, Sv
>> +% LV:  Pr, Ot, Tr, Ce, Pk, Se, Sv
>> +% LTG: Pr, Ūt, Tr, Ca, Pk, Sa, Sv
>> +
>> +LC_TIME
>> +abday    "Sv";"P ";/
>> +         "Ū ";"T ";/
>> +         "C ";"Pk";/
>> +         "S "
>
> Shouldn't these abbrevs be lowercase?

I tend to think as well they should be lowercase. Because the full day
names start with lowercase.

But the already existing lv_LV locale has the same weirdness.

In CLDR, there is no information yet for day names for ltg. But there is
vor lv (and the abday currently proposedfor the ltg_LV locale are
written in the same style as those in the existing lv_LV locale):

https://github.com/unicode-org/cldr/blob/main/common/main/lv.xml#L1738

    <dayWidth type="short">
    	<day type="sun">Sv</day>
    	<day type="mon">Pr</day>
    	<day type="tue">Ot</day>
    	<day type="wed">Tr</day>
    	<day type="thu">Ce</day>
    	<day type="fri">Pk</day>
    	<day type="sat">Se</day>
    </dayWidth>

These are also 2 letter abbreviations with the first letter upper case.
But the lv_LV locale has

abday    "Sv";"P ";/
         "O ";"T ";/
         "C ";"Pk";/
         "S "

which is not identical to what is in CLDR.

So probably I should sync this part of the lv_LV locale to CLDR

abday    "Sv";"Pr";/
         "Ot";"Tr";/
         "Ce";"Pk";/
         "Se"

and in the ltg_LV locale use

abday    "Sv";"Pi";/
         "Ūt";"Tr";/
         "Ca";"Pk";/
         "Sa"

for consistency ...

-- 
Mike FABIAN <mfabian@redhat.com>
睡眠不足はいい仕事の敵だ。



More information about the Libc-alpha mailing list