From patchwork Tue Jan 14 09:22:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 37366 Received: (qmail 28997 invoked by alias); 14 Jan 2020 09:23:12 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 28937 invoked by uid 89); 14 Jan 2020 09:23:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.7 required=5.0 tests=AC_HTML_NONSENSE_TAGS, AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=october, October, March X-HELO: us-smtp-delivery-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578993780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=OOKfDQmIGlbTUXundSiUF+Dd4EkQDmMZBzZA+9I2cws=; b=ImQAtARbL4pKEHjHC2UqkPHn3CW5SZCEJcF22Koq0ccAhBEfHsJheHpSMcU6FKBKrhsqEQ jMn/ojuZFAcM/tu2Y6T4tC3Ta5rCrMllXTXHTwKDNH0oHlzTvXvAn1hL0/lCj2ByU0OXnD kfTD1V1Gx9ybuOIohIJbXLHaMSFxM9o= Return-Path: From: Mike FABIAN To: libc-alpha@sourceware.org Subject: [PATCH 1/2] Add new locale: ckb_IQ (Kurdish/Sorani spoken in Iraq) [BZ #9809] Date: Tue, 14 Jan 2020 10:22:53 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 Add new locale: ckb_IQ (Kurdish/Sorani spoken in Iraq) [BZ #9809] Part 1 of the patch is what was submitted by the contributor. Part 2 are my fixes. From 17786a4aa7d43a48c5187e33c328005716b2501d Mon Sep 17 00:00:00 2001 From: Jwtiyar Nariman Date: Mon, 13 Jan 2020 10:06:06 +0100 Subject: [PATCH 1/2] Add ckb_IQ locale --- localedata/locales/ckb_IQ | 452 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 452 insertions(+) create mode 100644 localedata/locales/ckb_IQ diff --git a/localedata/locales/ckb_IQ b/localedata/locales/ckb_IQ new file mode 100644 index 0000000000..08574db72e --- /dev/null +++ b/localedata/locales/ckb_IQ @@ -0,0 +1,452 @@ +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. + + +% FOR ALL KURDISH DIALECTS USING ARABIC ALPHABETS +% Central Kurdish language locale for Iraq (using arabic letters): +% Contributed by Aras Noori +% Filename: ckb_iq +% Locale name: ckb_iq.UTF-8 +% Language: Central Kurdish (Sorani) +% Language abbrivation: KU-AR(Kurdish - Arabic letters) +% Charset: UTF-8 +% Creation Date: 2009-11-03 +% History: +% January 2009: Defining CKB locale +% March 2009: Adding rule for CKB +% October 2009: bug fixing and redefine +% April 2010 fixing "not found category" problems +% March 2011 fixing all bugs +% Sept 2014: fixing alphabet and unicode bugs +% Oct 2014: fixing Address and fmt_name issues + +LC_IDENTIFICATION +title "Central Kurdish language locale for Iraq" +source "Aras Noori, Jwtiyar Nariman" +address "see e-mail" +contact "Aras Noori, Jwtiyar Nariman" +email "aras.noori@gmail.com, Jwtiyar@gmail.com" +tel "" +fax "" +language "Central Kurdish" +territory "Iraq" +revision "0.9" +date "2020-01-05" + +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_CTYPE +copy "i18n" +END LC_CTYPE + +LC_COLLATE +% The Kurdish Sorani, Bahdini, and others dialects is mainly written using a modified (Arabic-based alphabet) with 33 letters. +% Unlike the regular Arabic alphabet, which is an abjad, kurdish is an alphabet in which vowels are mandatory, making the script easy to read. +% +% The kurdish alphabet order is: +% in Latin: a, b, c, ç, d, e, ê, f, g, h, i, î, j, k, l, ll, m, n, o, p, q, r, rr, s, sh, t, u, uu, v, w, x, y, z +% vowels: A, E, I, O, U, UU +% +% Copy the template from ISO/IEC 14651 + +order_start forward; forward +% +% Kurdish numeric characters. +% + + + + + + + + + + + +% +% Characters from space to / and from : to ~ and nbsp. +% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +% +% Kurish alphabet order. +% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +% + % + % English numeric characters. + % + + + + + + + + + + + % + % + % English alphabet. + % + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + ; + % + % + % Other control characters etc. upto order_end + % + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IGNORE +order_end + +END LC_COLLATE + +LC_MONETARY +int_curr_symbol "" +currency_symbol "" +mon_decimal_point "" +mon_thousands_sep "" +mon_grouping 3 +positive_sign "" +negative_sign "" +int_frac_digits 3 +frac_digits 3 +p_cs_precedes 1 +p_sep_by_space 1 +n_cs_precedes 1 +n_sep_by_space 1 +p_sign_posn 1 +n_sign_posn 2 + +END LC_MONETARY + + +LC_NUMERIC +decimal_point "" +thousands_sep "" +grouping 3 +END LC_NUMERIC + + +LC_TIME +% These are generated based on XML base Locale difintion file +% +% Abbreviated weekday names +abday "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Full weekday names +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Abbreviated month names +abmon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Full month names +mon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Equivalent of AM PM +am_pm "";"" +% +% Appropriate date and time representation +d_t_fmt "%d %b %Y, %Z %I:%M:%S %p" +% +% Appropriate date representation(%x) +d_fmt "%A %d %b %Y" +% +% Appropriate time representation +t_fmt "%Z %I:%M:%S %p" +% +% Appropriate 12 h time representation +t_fmt_ampm "%I:%M:%S %p" +% +% Appropriate date representation +date_fmt "%A %d %B %Y" + +week 7;19971130;1 +first_weekday 7 +first_workday 2 +cal_direction 3 +END LC_TIME + + +LC_MESSAGES +yesexpr "" +noexpr "" +yesstr "" +nostr "" +END LC_MESSAGES + + +LC_PAPER +copy "ar_IQ" +END LC_PAPER + + +LC_NAME +name_fmt "%d%t%g%t%m%t%f" +name_gen "" +name_miss "" +name_ms "" +name_mrs "" +name_mr "" +END LC_NAME +% +LC_ADDRESS +postal_fmt "%z%c%T%s%b%e%r" +country_name "Iraq" +country_ab2 "" +country_ab3 "" +country_post "" +country_num 368 +country_car "" +% +END LC_ADDRESS + + +LC_TELEPHONE +% +tel_int_fmt "+%c %a%t%l" +int_select "" % 00 +int_prefix "" %964 + +END LC_TELEPHONE + + +LC_MEASUREMENT +copy "ar_IQ" +END LC_MEASUREMENT -- 2.24.1