From patchwork Tue Jun 11 20:56:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 1946551 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=J4p8edEx; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; 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 [8.43.85.97]) (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 4VzLb10Cbyz20Wd for ; Wed, 12 Jun 2024 06:57:16 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 75C2F385DDE3 for ; Tue, 11 Jun 2024 20:57:14 +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 D36FA385DDC1 for ; Tue, 11 Jun 2024 20:56:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D36FA385DDC1 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 D36FA385DDC1 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=1718139408; cv=none; b=YgnLyu6MArpRm3iuiPFZMpDz4G6SEQkdOZCuTAcm3ibTcnjKR+6yPDJO4NArV3uIhFi101fpu0/xSGrUSbeQstfmcbDmDtt/iABNMRYk9sdrlkY0ilS0zN93pXaMRAKsDcNvY+BaRmuqSxjSYsxG1BEgGPt/EWe/F8M/kPlJ1Z4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718139408; c=relaxed/simple; bh=mfe2eJb5QppSkviZYTcz7mIYPga25WSehdSURECBuJk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=vTlhM3C7YrOBft3EDb19uEAx3bqTy8Md3KhbXIQtfF4c6zZFrlkhVeemil3q1pZCow+sGiuPeyEVkP2wyLqdxyuXLQYZH96wa7O8ctcy56F9nNhfM5lUXJfqwa5WAWop0tJW+0DJw1lyDucWx9+9ZnMo2aOOoHghQJaVyu6LlBc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718139401; 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=ni5QOQ87IOOkBsPuQirc875lvKv99gd09wwl76qEFQM=; b=J4p8edExEazxa+IkQbBbmvzjVxSRNcoY7jNANRjnXPteTdbGzCh0qPCAigPGNbqG9PVldf xE67qCbcXSlgbp4/JzhRUTGQqrXHKCluSbgDZ1j7yFqhHpeseGkn1IsA5UT31/SOGTIWZX iyO2o6+8NEgWb0POcduU8GJ9jCTqMPs= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-529-TDXWtAfwOVWPk6OHwWcOsA-1; Tue, 11 Jun 2024 16:56:39 -0400 X-MC-Unique: TDXWtAfwOVWPk6OHwWcOsA-1 Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-52bbd53f68cso2924528e87.0 for ; Tue, 11 Jun 2024 13:56:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718139398; x=1718744198; 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=ni5QOQ87IOOkBsPuQirc875lvKv99gd09wwl76qEFQM=; b=WTOcQJg0gVWw8/Zuzj2WkRZpzJWUsNL5cn06Qh27V/XHCT9i+Sx7N6B8lBxCu7NB4R xc7o4FFC4eVP5/ao2XYl6OJtlwpXEG7MIYEUx/Tiq52+bxmrtM6/1/b9cWmYfZFRivFQ 7zjM1HH56EnH2TMGoRLePFCBUB2rvc3D17gGMXnkNKIEwoG41erTw+/BgWvGbVqttc3g /ejMrwDv2tpQe0t4MafNENwJadpanlapI/MZ4Daii+11eYOIc+2mWUkqbhicaWmenKZ6 TRyi+/BwjSfnerh2KCrV5DxZ1xZLJOUQwn4i5GlLRB6MpMrFEF24q3mBGZmjGP2ZaPGW wquA== X-Gm-Message-State: AOJu0YzshuJZZvsG9CwXSy6ksGHI9sQAirqaFwttgV9qdqwjLZx+RXD5 tlt5J0mM1JiTB4XhO89H+HgzQN50mnKkebwcNe7VRODl/zkmTsHHp5Qloy4qWMbcLYN9m7KEd3k KH6Bxu/B70/4pGgLenQLh+zZZ6V5D++mos8WPjtDIi3ByYP60mpRyipUX X-Received: by 2002:a05:6512:3e25:b0:52b:c195:5d9c with SMTP id 2adb3069b0e04-52bc195620fmr11928750e87.61.1718139398301; Tue, 11 Jun 2024 13:56:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9Ovu5lCzJVTq7CqVqhKdGmrwfuRSqQzMv0Bpm+X5OheX0k4SA7dgtlpbwR3+Kxf8rXWdBxg== X-Received: by 2002:a05:6512:3e25:b0:52b:c195:5d9c with SMTP id 2adb3069b0e04-52bc195620fmr11928736e87.61.1718139397770; Tue, 11 Jun 2024 13:56:37 -0700 (PDT) Received: from hathi.site (p57b6138e.dip0.t-ipconnect.de. [87.182.19.142]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6e438d2c23sm620765066b.6.2024.06.11.13.56.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 13:56:37 -0700 (PDT) Received: by hathi.site (Postfix, from userid 10030) id A8CC98121E; Tue, 11 Jun 2024 22:56:36 +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 22:56:34 +0200 Message-ID: <20240611205635.385690-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=-11.9 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..dcf3b76625 --- /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īne";/ + "pyrmūdīne";/ + "ūtardīne";/ + "trešdīne";/ + "catūrtdīne";/ + "pīktdīne";/ + "sastdīne" +abmon "jan";"feb";/ + "mar";"apr";/ + "maj";"juņ";/ + "juļ";"aug";/ + "sep";"okt";/ + "nov";"dec" +mon "janvars";/ + "februars";/ + "marts";/ + "apreļs";/ + "majs";/ + "juņs";/ + "juļs";/ + "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