From patchwork Tue Jun 11 11:57:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 1946288 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ObF/TMxz; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Vz6cC67D0z20Pb for ; Tue, 11 Jun 2024 21:57:31 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E6C283858C48 for ; Tue, 11 Jun 2024 11:57:29 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 0F6273858C48 for ; Tue, 11 Jun 2024 11:57:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0F6273858C48 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0F6273858C48 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718107033; cv=none; b=d4I0yz8FqNKZT2wqIlb8q7S6UBxMKAFOCIMEfGpc3iIi/QftysXbxCJui43rLJOXtrC5EBV2e9GACvh9+t9bfh+9UIdlLj4yp5dKhjk9RBoSyjMienqlMmGSjzepHt0AhWh/+Nb1uV5I8IwaqrO+AyAUy22VXhKnJCtv8iUYA2c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718107033; c=relaxed/simple; bh=1zaGfXt3KnQ8MdCfHoVIV+T7L5mKuRrRm+mhV3wMGho=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=xZ/edCSmiFgDBW9Hl9nVMXXadSFAc0fKDLef6yxD/5pEQeCyLsWA2Ge0FJybBefjBGZbN5Z0/x20ATbz/UQlegZ3Vbs+xh1+F0dzGdYmJPnnomxvGCWrpOkRuE3aCiAd8qiUXyG2zSnQvgLPQu5j+d+Xln0tYojl94G/O+mkmZg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718107030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WP2fhiJVGyfRTNL0w9AO5RnXIZQkQXLoE65BXfbRHi4=; b=ObF/TMxzIEm3UwoaQQUp3fsUO4zarLX/tEz+ad5YFlD6FIwCMEB5Y96Ms3vWAR7+yII1l1 JPpdmtbEb1qfdhm3/pxtvfWB5+mIkgb4RyaQDRMXdGbTNifEGX13XmFe5P9pm7ZGTuABBZ fFLa3DpkqJZWswGMwAQ/VrY4dR3hGlk= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-423-ALpESaZWM8yJJku4sPuF2g-1; Tue, 11 Jun 2024 07:57:09 -0400 X-MC-Unique: ALpESaZWM8yJJku4sPuF2g-1 Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-57a306c4b1eso3924729a12.0 for ; Tue, 11 Jun 2024 04:57:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718107028; x=1718711828; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WP2fhiJVGyfRTNL0w9AO5RnXIZQkQXLoE65BXfbRHi4=; b=ay3xdbRcUaHHx6ncrqaxYSMJ5Q03jnhYnZUiWvmSndQY9q6QRGWKNIDMR8TYMYfgta nHI0i1oVFGbYWk2yHvbPfmeN+6BtpeVSnqpGSuE/ZHYTDtY0KNPbmauj4NvcIZOCN4WY GAPpImUlJAvOQIQ5XejumSg06mB9TJ7PyJjbPtk8sn7Ps2Kjo8In+sqEXSUPz04Sb4er iKWRF7IaAhFPJV5K14Yvrh826ZiA3hi692iJZHIdDkzdU/JmEYVB6nLim25wSuF4eZOb 6EMRW4gBwL6sCTuFAM6VuPpQmkk6lL8yUDV08ja1vjqtlfCW7ZIHz83J6o+poPlc6dvp 5RLw== X-Gm-Message-State: AOJu0YzjzrBjIQJ3SJHoAQTmhSX8P0l23/X6dGXK/SaJGU/3x7bnEett pDdL89WR6hEVi5Qi6tC57gAMlLIso7d0ZKTN+vzqV5GkPAB3HVCJw8WNnjmMJa/0YEy0FMk5SZh cl0hhSWfOWnu/Xb2angiWDioELGu25YLkiGPpsH4KtVbjOFOImyuHF3D1WaGX7m9h X-Received: by 2002:a50:871c:0:b0:57c:6868:2aea with SMTP id 4fb4d7f45d1cf-57c68682eb0mr6046127a12.23.1718107027735; Tue, 11 Jun 2024 04:57:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvBI9IiiIz2rv6QOIeb/hyts4QnYeRi3ZVhGwCARDVfjOqihwtCI67ivTmjw63eM2jWyO+VQ== X-Received: by 2002:a50:871c:0:b0:57c:6868:2aea with SMTP id 4fb4d7f45d1cf-57c68682eb0mr6046112a12.23.1718107027215; Tue, 11 Jun 2024 04:57:07 -0700 (PDT) Received: from hathi.site (p200300efa70cb300d6d48c41b785b7d2.dip0.t-ipconnect.de. [2003:ef:a70c:b300:d6d4:8c41:b785:b7d2]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57aae234204sm9129442a12.87.2024.06.11.04.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 04:57:06 -0700 (PDT) Received: by hathi.site (Postfix, from userid 10030) id 3B9B08684B; Tue, 11 Jun 2024 13:57:06 +0200 (CEST) From: Mike FABIAN To: libc-alpha@sourceware.org Cc: Mike FABIAN Subject: [PATCH] Define ISO 639-3 "ltg" (Latgalian) and add ltg_LV locale Date: Tue, 11 Jun 2024 13:57:04 +0200 Message-ID: <20240611115705.144363-1-mfabian@redhat.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SCC_5_SHORT_WORD_LINES, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE, WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Resolves: BZ # 31411 References: https://iso639-3.sil.org/code/ltg https://en.wikipedia.org/wiki/Latgalian_language https://github.com/unicode-org/cldr/blob/main/common/main/ltg.xml --- locale/iso-639.def | 1 + localedata/Makefile | 2 + localedata/SUPPORTED | 1 + localedata/locales/ltg_LV | 144 +++++++++++++++++++++++++++++++++ localedata/ltg_LV.UTF-8.in | 162 +++++++++++++++++++++++++++++++++++++ 5 files changed, 310 insertions(+) create mode 100644 localedata/locales/ltg_LV create mode 100644 localedata/ltg_LV.UTF-8.in diff --git a/locale/iso-639.def b/locale/iso-639.def index 83eb7619a1..91519d98c7 100644 --- a/locale/iso-639.def +++ b/locale/iso-639.def @@ -277,6 +277,7 @@ DEFINE_LANGUAGE_CODE3 ("Ladino", lad, lad) DEFINE_LANGUAGE_CODE3 ("Lahnda", lah, lah) DEFINE_LANGUAGE_CODE3 ("Lamba", lam, lam) DEFINE_LANGUAGE_CODE ("Lao", lo, lao, lao) +DEFINE_LANGUAGE_CODE3 ("Latgalian", ltg, ltg) DEFINE_LANGUAGE_CODE ("Latin", la, lat, lat) DEFINE_LANGUAGE_CODE ("Latvian", lv, lav, lav) DEFINE_LANGUAGE_CODE3 ("Lezghian", lez, lez) diff --git a/localedata/Makefile b/localedata/Makefile index 14532bf07c..fe09656e9f 100644 --- a/localedata/Makefile +++ b/localedata/Makefile @@ -92,6 +92,7 @@ test-input := \ ky_KG.UTF-8 \ ln_CD.UTF-8 \ lt_LT.UTF-8 \ + ltg_LV.UTF-8 \ lv_LV.UTF-8 \ mdf_RU.UTF-8 \ mi_NZ.UTF-8 \ @@ -358,6 +359,7 @@ LOCALES := \ ky_KG.UTF-8 \ ln_CD.UTF-8 \ lt_LT.UTF-8 \ + ltg_LV.UTF-8 \ lv_LV.UTF-8 \ mdf_RU.UTF-8 \ mi_NZ.UTF-8 \ diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED index 96ff43f8fd..089a5489cb 100644 --- a/localedata/SUPPORTED +++ b/localedata/SUPPORTED @@ -312,6 +312,7 @@ ln_CD/UTF-8 \ lo_LA/UTF-8 \ lt_LT.UTF-8/UTF-8 \ lt_LT/ISO-8859-13 \ +ltg_LV.UTF-8/UTF-8 \ lv_LV.UTF-8/UTF-8 \ lv_LV/ISO-8859-13 \ lzh_TW/UTF-8 \ diff --git a/localedata/locales/ltg_LV b/localedata/locales/ltg_LV new file mode 100644 index 0000000000..978bc2c91d --- /dev/null +++ b/localedata/locales/ltg_LV @@ -0,0 +1,144 @@ +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. + +LC_IDENTIFICATION +title "Latgalian locale for Latvia" +source "Latvian Standard LVS 24:1993" +address "" +contact "laka@laka.lv" +email "bug-glibc-locales@gnu.org" +tel "" +fax "" +language "Latgalian" +territory "Latvia" +revision "1.0" +date "2024-02-24" + +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 "lv_LV" +END LC_COLLATE + +LC_CTYPE +copy "lv_LV" +END LC_CTYPE + +LC_MONETARY +copy "lv_LV" +END LC_MONETARY + +LC_NUMERIC +copy "lv_LV" +END LC_NUMERIC + +% 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 " +day "svātdīná";/ + "pyrmūdīná";/ + "ūtornīks";/ + "trešdīná";/ + "catūrgs";/ + "pīktdīná";/ + "sastdīná" +abmon "jan";"feb";/ + "mar";"apr";/ + "maj";"jun";/ + "jul";"aug";/ + "sep";"okt";/ + "nov";"dec" +mon "janvarș";/ + "febralș";/ + "marts";/ + "aprelș";/ + "majș";/ + "junș";/ + "julș";/ + "augusts";/ + "septembris";/ + "oktobris";/ + "novembris";/ + "decembris" + +% otrdiena, 1993. gada 5. janvāris, plkst. 17 un 15 minūtes +d_t_fmt "%A, %Y. goda %e. %B, plkst. %H : %M" +% Pk, 1993. 17. dec +% 1993.06.17 +d_fmt "%Y.%m.%d." +% 18:59:32 +t_fmt "%T" +am_pm "";"" +t_fmt_ampm "" +week 7;19971130;1 +first_weekday 2 +END LC_TIME + +LC_MESSAGES +yesexpr "^[+1JjYy]" +noexpr "^[-0Nn]" +yesstr "jā" +nostr "nā" +END LC_MESSAGES + +LC_PAPER +copy "i18n" +END LC_PAPER + +LC_TELEPHONE +copy "lv_LV" +END LC_TELEPHONE + +LC_MEASUREMENT +copy "i18n" +END LC_MEASUREMENT + +LC_NAME +copy "lv_LV" +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 "Latvija" +country_ab2 "LV" +country_ab3 "LVA" +country_num 428 +country_car "LV" +% latgaliešu valoda +lang_name "latgalīšu" +lang_term "ltg" +lang_lib "ltg" +END LC_ADDRESS diff --git a/localedata/ltg_LV.UTF-8.in b/localedata/ltg_LV.UTF-8.in new file mode 100644 index 0000000000..a894627f0c --- /dev/null +++ b/localedata/ltg_LV.UTF-8.in @@ -0,0 +1,162 @@ +a +A +å +Å +aa +Aa +ab +Ab +æ +Æ +ā +Ā +āa +Āa +āb +Āb +c +C +ç +Ç +č +Č +ča +Ča +čb +Čb +D +e +E +ē +Ē +ēa +Ēa +ēb +Ēb +g +G +ģ +Ģ +ģa +Ģa +ģb +Ģb +h +H +i +I +ia +Ia +ib +Ib +y +Y +ya +Ya +yb +Yb +ī +Ī +īa +Īa +īb +Īb +ĵ +Ĵ +ĵa +Ĵa +ĵb +Ĵb +k +K +ķ +Ķ +ķa +Ķa +ķb +Ķb +l +L +ļ +Ļ +ļa +Ļa +ļb +Ļb +m +M +n +N +ņ +Ņ +ņa +Ņa +ņb +Ņb +o +O +ø +Ø +ō +Ō +ōa +Ōa +ōb +Ōb +r +R +ra +Ra +rb +Rb +ŗ +Ŗ +ŗa +Ŗa +ŗb +Ŗb +s +S +sa +Sa +sb +Sb +š +Š +ša +Ša +šb +Šb +t +T +u +U +ū +Ū +ūa +Ūa +ūb +Ūb +x +z +Z +ź +Ź +za +Za +zb +Zb +ȥ +Ȥ +ž +Ž +ža +Ža +žb +Žb +ʒ +Ʒ +ʒa +Ʒa +ʒb +Ʒb