From patchwork Fri Nov 19 14:53:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?6LaZ5oOf5YCr?= X-Patchwork-Id: 47934 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 43799385AC12 for ; Fri, 19 Nov 2021 14:53:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43799385AC12 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1637333621; bh=8cQigP0L0CQqbYMxw4R09x7HuJGEZdvvDrtYwWPkuUQ=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=pE8Ty0dVFbMGX3qB9QJVxSdbBKqUUYomI/W0Qr2tSHHE9p/TEz1XMwaRH4lbFUdef cVa2Pu3Wyy/lXVFlMZQwglYjSjsLdvqr1mU9PXtv6leIKzIzUG5sd2DOPCgG9+Ihzk +iWzoNuPvfleybCVn0umla5Y0bYUbk/KYSOMTT0c= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by sourceware.org (Postfix) with ESMTPS id 4D376385800C for ; Fri, 19 Nov 2021 14:53:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4D376385800C Received: by mail-qv1-xf34.google.com with SMTP id m17so7235157qvx.8 for ; Fri, 19 Nov 2021 06:53:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8cQigP0L0CQqbYMxw4R09x7HuJGEZdvvDrtYwWPkuUQ=; b=n5Mt+9zJywKqzf6NffR1KeZ5xKhmS4DEE67m1c356ln3CkQ0ImAS98Dxh3I8XHUhH1 r7xrYY5FO8A7zWw5NLcomI4KYiRkwRZFFmqaeLB5eT1qmPtVF7VQVkI9pwgM4cXccTXK py9dNsEOl6RRIQap51Z2f2Mc28Mk7UjAr4DmP0xP0CRBb2m0JYtQt0K4EyCu35wRPl6S HN7RIdOh4FHE5+5CDcm1ipkQ3/tzb01nNxRPvZKN15AHqHQkmZAIR50K9rOmnMdMsYGC o4+gnLd1H9uj03K2Q7xeVwYe/uBRyDjDWbxkwjRxeAqNyc5J5sO7rY7lzlM66M/Ts1MQ wlbA== X-Gm-Message-State: AOAM533NoYSvMQKnSvBQ3LQOhCmh1DZISfQZS45QkuoCu6IGbmD6FjJm roCqkSvRd2Z+Vn+R+shYw2R+E190MHE7cBTtwXNnDmyM7VQ= X-Google-Smtp-Source: ABdhPJyeHGxym7SuuGurk6Jn4eNqqhSiBzYkIlhIxvNWRVPl8mJZIccWtuYh83nhT1vvyg4hD0DLsdv3YLO8nB1DVVY= X-Received: by 2002:ad4:5aa1:: with SMTP id u1mr75731608qvg.44.1637333597011; Fri, 19 Nov 2021 06:53:17 -0800 (PST) MIME-Version: 1.0 Date: Fri, 19 Nov 2021 22:53:06 +0800 Message-ID: Subject: [PATCH v3] localedata: Updates for Taiwanese locales [BZ #24409] To: libc-alpha , "Carlos O'Donell" , TAMUKI Shoichi X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_05, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FILL_THIS_FORM, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_FILL_THIS_FORM_FRAUD_PHISH autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?b?6LaZ5oOf5YCrIHZpYSBMaWJjLWFscGhh?= From: =?utf-8?b?6LaZ5oOf5YCr?= Reply-To: =?utf-8?b?6LaZ5oOf5YCr?= Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Rationale: * Header cleanup: make the header of localedata files consistent * Add (week): add the missing definition of week and first_weekday to 2 * Change (thousands_sep): change the thousands_sep from to to avoid confusion of grouping 4 with usual grouping 3 * Extend alt_digits: from 0..59 to 0..99 for lzh_TW * Add collation: add missing collation used in cmn_TW * New locale: create yue_TW Changelog: * localedata/locales/cmn_TW: Header cleanup; Add (week); Change (thousands_sep). * localedata/locales/hak_TW: Likewise and add collation. * localedata/locales/lzh_TW: Likewise and extend alt_digits, add collation. * localedata/locales/nan_TW: Likewise and add collation. * localedata/locales/yue_TW: New locale. From 8b2bbe69c9cf0eae3def3b08de02240a1f1b281b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=99=E6=83=9F=E5=80=AB?= Date: Fri, 19 Nov 2021 21:36:43 +0800 Subject: [PATCH] [PATCH] localedata: Updates for Taiwanese locales [BZ #24409] --- localedata/locales/cmn_TW | 20 ++-- localedata/locales/hak_TW | 58 +++++----- localedata/locales/lzh_TW | 153 +++++++++++++++++++------- localedata/locales/nan_TW | 56 +++++----- localedata/locales/yue_TW | 224 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 408 insertions(+), 103 deletions(-) create mode 100644 localedata/locales/yue_TW diff --git a/localedata/locales/cmn_TW b/localedata/locales/cmn_TW index b833543944..a9892eabf1 100644 --- a/localedata/locales/cmn_TW +++ b/localedata/locales/cmn_TW @@ -8,13 +8,9 @@ escape_char / % exempt you from the conditions of the license if your use would % otherwise be governed by that license. -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% % Mandarin Chinese locale for the Republic of China -% +% Prepared and contributed to glibc by Wei-Lun Chao % build with: localedef -f UTF-8 -i cmn_TW cmn_TW -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LC_IDENTIFICATION title "Mandarin Chinese locale for the Republic of China" @@ -26,8 +22,8 @@ tel "" fax "" language "Mandarin Chinese" territory "Taiwan" -revision "0.2" -date "2017-07-20" +revision "0.3" +date "2021-11-19" category "i18n:2012";LC_IDENTIFICATION category "i18n:2012";LC_CTYPE @@ -75,7 +71,7 @@ mon "";/ "";/ "";/ "" -% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月 +% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月 abmon " 1";/ " 2";/ " 3";/ @@ -117,6 +113,8 @@ am_pm "";/ t_fmt_ampm "%p %I%M%S" % %Y年 %b %-d號 %A %H:%M:%S %Z date_fmt "%Y %b %-d %A %H:%M:%S %Z" +week 7;19971130;1 +first_weekday 2 era "+:2:1913//01//01:+*::%EC%Ey";/ "+:1:1912//01//01:1912//12//31::%EC";/ @@ -125,7 +123,7 @@ END LC_TIME LC_NUMERIC decimal_point "." -thousands_sep "," +thousands_sep "" grouping 4 END LC_NUMERIC @@ -133,7 +131,7 @@ LC_MONETARY currency_symbol "NT$" int_curr_symbol "TWD " mon_decimal_point "." -mon_thousands_sep "," +mon_thousands_sep "" mon_grouping 4 positive_sign "" negative_sign "-" @@ -194,7 +192,7 @@ country_post "TW" country_ab2 "TW" country_ab3 "TWN" country_num 158 -country_car "RC" +country_car "RC" country_isbn 957 % 漢語官話 lang_name "" diff --git a/localedata/locales/hak_TW b/localedata/locales/hak_TW index 77708081bb..67efcb37f7 100644 --- a/localedata/locales/hak_TW +++ b/localedata/locales/hak_TW @@ -8,13 +8,9 @@ escape_char / % exempt you from the conditions of the license if your use would % otherwise be governed by that license. -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% % Hakka Chinese locale for the Republic of China -% +% Prepared and contributed to glibc by Wei-Lun Chao % build with: localedef -f UTF-8 -i hak_TW hak_TW -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LC_IDENTIFICATION title "Hakka Chinese locale for the Republic of China" @@ -26,8 +22,8 @@ tel "" fax "" language "Hakka Chinese" territory "Taiwan" -revision "0.1" -date "2013-06-02" +revision "0.2" +date "2021-11-19" category "i18n:2012";LC_IDENTIFICATION category "i18n:2012";LC_CTYPE @@ -45,17 +41,20 @@ END LC_IDENTIFICATION LC_CTYPE copy "i18n" +translit_start +include "translit_combining";"" +translit_end + class "hanzi"; / ;/ ..;/ ..;/ ..;/ -..;/ -.. +.. END LC_CTYPE LC_COLLATE -copy "iso14651_t1" +copy "cns11643_stroke" END LC_COLLATE LC_TIME @@ -72,7 +71,7 @@ mon "";/ "";/ "";/ "" -% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月 +% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月 abmon " 1";/ " 2";/ " 3";/ @@ -101,19 +100,20 @@ abday "";/ "";/ "";/ "" -% %Y年%m月%d日 (%A) %H點%M分%S秒 -d_t_fmt "%Y%m%d (%A) %H%M%S" -% %Y年%m月%d日 -d_fmt "%Y%m%d" +% %Y年%m月%d號 (%A) %H點%M分%S秒 +d_t_fmt "%Y%m%d (%A) %H%M%S" +% %Y年%m月%d號 +d_fmt "%Y%m%d" % %H點%M分%S秒 t_fmt "%H%M%S" % 上晝, 下晝 am_pm "";"" % %p %I點%M分%S秒 t_fmt_ampm "%p %I%M%S" -% %Y年 %b %e日 %A %H:%M:%S %Z -date_fmt "%Y %b %e %A %H:%M:%S %Z" +% %Y年 %b %-d號 %A %H:%M:%S %Z +date_fmt "%Y %b %-d %A %H:%M:%S %Z" week 7;19971130;1 +first_weekday 2 era "+:2:1913//01//01:+*::%EC%Ey";/ "+:1:1912//01//01:1912//12//31::%EC";/ @@ -122,7 +122,7 @@ END LC_TIME LC_NUMERIC decimal_point "." -thousands_sep "," +thousands_sep "" grouping 4 END LC_NUMERIC @@ -130,7 +130,7 @@ LC_MONETARY currency_symbol "NT$" int_curr_symbol "TWD " mon_decimal_point "." -mon_thousands_sep "," +mon_thousands_sep "" mon_grouping 4 positive_sign "" negative_sign "-" @@ -151,18 +151,22 @@ int_n_sign_posn 1 END LC_MONETARY LC_PAPER -copy "i18n" +height 297 +width 210 END LC_PAPER LC_MEASUREMENT -copy "i18n" +% metric +measurement 1 END LC_MEASUREMENT LC_MESSAGES -% ^[+1yYyY係] -yesexpr "^[+1yY]" -% ^[-0nNnN毋] -noexpr "^[-0nN]" +yesexpr "^[+1yY]" +noexpr "^[-0nN]" +% 係 +yesstr "" +% 毋係 +nostr "" END LC_MESSAGES LC_NAME @@ -189,8 +193,8 @@ country_ab3 "TWN" country_num 158 country_car "RC" country_isbn 957 -% 客家語 -lang_name "" +% 漢語客家語 +lang_name "" lang_term "hak" lang_lib "hak" END LC_ADDRESS diff --git a/localedata/locales/lzh_TW b/localedata/locales/lzh_TW index 26f30b8a52..e787656edd 100644 --- a/localedata/locales/lzh_TW +++ b/localedata/locales/lzh_TW @@ -8,13 +8,9 @@ escape_char / % exempt you from the conditions of the license if your use would % otherwise be governed by that license. -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% % Literary Chinese locale for the Republic of China -% +% Prepared and contributed to glibc by Wei-Lun Chao % build with: localedef -f UTF-8 -i lzh_TW lzh_TW -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LC_IDENTIFICATION title "Literary Chinese locale for the Republic of China" @@ -26,8 +22,8 @@ tel "" fax "" language "Literary Chinese" territory "Taiwan" -revision "0.1" -date "2013-06-02" +revision "0.2" +date "2021-11-19" category "i18n:2012";LC_IDENTIFICATION category "i18n:2012";LC_CTYPE @@ -45,17 +41,20 @@ END LC_IDENTIFICATION LC_CTYPE copy "i18n" +translit_start +include "translit_combining";"" +translit_end + class "hanzi"; / ;/ ..;/ ..;/ ..;/ -..;/ -.. +.. END LC_CTYPE LC_COLLATE -copy "iso14651_t1" +copy "cns11643_stroke" END LC_COLLATE LC_TIME @@ -72,17 +71,17 @@ mon "";/ "";/ "";/ "" -% 一 , 二 , 三 , 四 , 五 , 六 , 七 , 八 , 九 , 十 , 十一, 十二 -abmon " ";/ - " ";/ - " ";/ - " ";/ - " ";/ - " ";/ - " ";/ - " ";/ - " ";/ - " ";/ +% 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一, 十二 +abmon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ "";/ "" % 週日, 週一, 週二, 週三, 週四, 週五, 週六 @@ -101,19 +100,22 @@ abday "";/ "";/ "";/ "" -% %OC%Oy年%B%Od日 (%A) %OH時%OM分%OS秒 -d_t_fmt "%OC%Oy%B%Od (%A) %OH%OM%OS" -% %OC%Oy年%B%Od日 -d_fmt "%OC%Oy%B%Od" +% %Y年%B%Od (%A) %OH時%OM分%OS秒 +d_t_fmt "%Y%B%Od (%A) %OH%OM%OS" +% %Y年%B%Od +d_fmt "%Y%B%Od" % %OH時%OM分%OS秒 t_fmt "%OH%OM%OS" % 朝, 暮 -am_pm "";"" +am_pm "";/ + "" % %p %OI時%OM分%OS秒 t_fmt_ampm "%p %OI%OM%OS" -% 公曆 %C%Oy年 %B %Oe日 %A %OH時%OM分%OS秒 -date_fmt " %C%Oy %B %Oe %A %OH%OM%OS" -% 〇, 一, 二, 三, 四, 五, 六, 七, 八, 九, 十, 十一, 十二, 十三, 十四, 十五, 十六, 十七, 十八, 十九, 廿, 廿一, 廿二, 廿三, 廿四, 廿五, 廿六, 廿七, 廿八, 廿九, 卅, 卅一 +% 公曆 %Y年 %B %Oe %A %OH時%OM分%OS秒 +date_fmt " %Y %B %Oe %A %OH%OM%OS" +% 〇, 一, 二, 三, 四, 五, 六, 七, 八, 九, 十, 十一, 十二, 十三, 十四, 十五, 十六, 十七, 十八, 十九, 二十, 廿一, 廿二, 廿三, 廿四, 廿五, 廿六, 廿七, 廿八, 廿九, 三十, 卅一, +% 卅二, 卅三, 卅四, 卅五, 卅六, 卅七, 卅八, 卅九, 四十, 四十一, 四十二, 四十三, 四十四, 四十五, 四十六, 四十七, 四十八, 四十九, 五十, 五十一, 五十二, 五十三, 五十四, 五十五, 五十六, 五十七, 五十八, 五十九, +% 六十, 六十一, 六十二, 六十三, 六十四, 六十五, 六十六, 六十七, 六十八, 六十九, 七十, 七十一, 七十二, 七十三, 七十四, 七十五, 七十六, 七十七, 七十八, 七十九, 八十, 八十一, 八十二, 八十三, 八十四, 八十五, 八十六, 八十七, 八十八, 八十九, 九十, 九十一, 九十二, 九十三, 九十四, 九十五, 九十六, 九十七, 九十八, 九十九 alt_digits "";/ "";/ "";/ @@ -134,7 +136,7 @@ alt_digits "";/ "";/ "";/ "";/ - "";/ + "";/ "";/ "";/ "";/ @@ -144,10 +146,79 @@ alt_digits "";/ "";/ "";/ "";/ - "";/ - "" + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" % week 7;19971130;1 +first_weekday 2 era "+:2:1913//01//01:+*::%EC%Ey";/ "+:1:1912//01//01:1912//12//31::%EC";/ @@ -156,7 +227,7 @@ END LC_TIME LC_NUMERIC decimal_point "." -thousands_sep "," +thousands_sep "" grouping 4 END LC_NUMERIC @@ -164,7 +235,7 @@ LC_MONETARY currency_symbol "NT$" int_curr_symbol "TWD " mon_decimal_point "." -mon_thousands_sep "," +mon_thousands_sep "" mon_grouping 4 positive_sign "" negative_sign "-" @@ -185,18 +256,22 @@ int_n_sign_posn 1 END LC_MONETARY LC_PAPER -copy "i18n" +height 297 +width 210 END LC_PAPER LC_MEASUREMENT -copy "i18n" +% metric +measurement 1 END LC_MEASUREMENT LC_MESSAGES -% ^[+1yYyY是] yesexpr "^[+1yY]" -% ^[-0nNnN非] -noexpr "^[-0nN]" +noexpr "^[-0nN]" +% 是 +yesstr "" +% 否 +nostr "" END LC_MESSAGES LC_NAME diff --git a/localedata/locales/nan_TW b/localedata/locales/nan_TW index d59295fd12..432ba6ac4a 100644 --- a/localedata/locales/nan_TW +++ b/localedata/locales/nan_TW @@ -8,13 +8,9 @@ escape_char / % exempt you from the conditions of the license if your use would % otherwise be governed by that license. -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% % Min Nan Chinese locale for the Republic of China -% +% Prepared and contributed to glibc by Wei-Lun Chao % build with: localedef -f UTF-8 -i nan_TW nan_TW -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LC_IDENTIFICATION title "Min Nan Chinese locale for the Republic of China" @@ -26,8 +22,8 @@ tel "" fax "" language "Min Nan Chinese" territory "Taiwan" -revision "0.1" -date "2013-06-02" +revision "0.2" +date "2021-11-19" category "i18n:2012";LC_IDENTIFICATION category "i18n:2012";LC_CTYPE @@ -45,17 +41,20 @@ END LC_IDENTIFICATION LC_CTYPE copy "i18n" +translit_start +include "translit_combining";"" +translit_end + class "hanzi"; / ;/ ..;/ ..;/ ..;/ -..;/ -.. +.. END LC_CTYPE LC_COLLATE -copy "iso14651_t1" +copy "cns11643_stroke" END LC_COLLATE LC_TIME @@ -72,7 +71,7 @@ mon "";/ "";/ "";/ "" -% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月 +% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月 abmon " 1";/ " 2";/ " 3";/ @@ -101,10 +100,10 @@ abday "";/ "";/ "";/ "" -% %Y年%m月%d日 (%A) %H點%M分%S秒 -d_t_fmt "%Y%m%d (%A) %H%M%S" -% %Y年%m月%d日 -d_fmt "%Y%m%d" +% %Y年%m月%d號 (%A) %H點%M分%S秒 +d_t_fmt "%Y%m%d (%A) %H%M%S" +% %Y年%m月%d號 +d_fmt "%Y%m%d" % %H點%M分%S秒 t_fmt "%H%M%S" % 頂晡, 下晡 @@ -112,9 +111,10 @@ am_pm "";/ "" % %p %I點%M分%S秒 t_fmt_ampm "%p %I%M%S" -% %Y年 %b %e日 %A %H:%M:%S %Z -date_fmt "%Y %b %e %A %H:%M:%S %Z" +% %Y年 %b %-d號 %A %H:%M:%S %Z +date_fmt "%Y %b %-d %A %H:%M:%S %Z" week 7;19971130;1 +first_weekday 2 era "+:2:1913//01//01:+*::%EC%Ey";/ "+:1:1912//01//01:1912//12//31::%EC";/ @@ -123,7 +123,7 @@ END LC_TIME LC_NUMERIC decimal_point "." -thousands_sep "," +thousands_sep "" grouping 4 END LC_NUMERIC @@ -131,7 +131,7 @@ LC_MONETARY currency_symbol "NT$" int_curr_symbol "TWD " mon_decimal_point "." -mon_thousands_sep "," +mon_thousands_sep "" mon_grouping 4 positive_sign "" negative_sign "-" @@ -152,18 +152,22 @@ int_n_sign_posn 1 END LC_MONETARY LC_PAPER -copy "i18n" +height 297 +width 210 END LC_PAPER LC_MEASUREMENT -copy "i18n" +% metric +measurement 1 END LC_MEASUREMENT LC_MESSAGES -% ^[+1yYyY是] yesexpr "^[+1yY]" -% ^[-0nNnN伓] -noexpr "^[-0nN]" +noexpr "^[-0nN]" +% 是 +yesstr "" +% 毋是 +nostr "" END LC_MESSAGES LC_NAME @@ -190,8 +194,8 @@ country_ab3 "TWN" country_num 158 country_car "RC" country_isbn 957 -% 閩南語 -lang_name "" +% 漢語閩南語 +lang_name "" lang_term "nan" lang_lib "nan" END LC_ADDRESS diff --git a/localedata/locales/yue_TW b/localedata/locales/yue_TW new file mode 100644 index 0000000000..cac0a7137a --- /dev/null +++ b/localedata/locales/yue_TW @@ -0,0 +1,224 @@ +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. + +% Yue Chinese locale for the Republic of China +% Prepared and contributed to glibc by Wei-Lun Chao +% build with: localedef -f UTF-8 -i yue_TW yue_TW + +LC_IDENTIFICATION +title "Yue Chinese locale for the Republic of China" +source "" +address "" +contact "" +email "bug-glibc-locales@gnu.org" +tel "" +fax "" +language "Yue Chinese" +territory "Taiwan" +revision "0.1" +date "2021-11-19" + +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" +translit_start +include "translit_combining";"" +translit_end + +class "hanzi"; / +;/ +..;/ +..;/ +..;/ +.. +END LC_CTYPE + +LC_COLLATE +copy "cns11643_stroke" +END LC_COLLATE + +LC_NUMERIC +decimal_point "." +thousands_sep "" +grouping 4 +END LC_NUMERIC + +LC_MONETARY +currency_symbol "NT$" +int_curr_symbol "TWD " +mon_decimal_point "." +mon_thousands_sep "" +mon_grouping 4 +positive_sign "" +negative_sign "-" +frac_digits 2 +int_frac_digits 2 +p_cs_precedes 1 +p_sep_by_space 0 +n_cs_precedes 1 +n_sep_by_space 0 +p_sign_posn 1 +n_sign_posn 1 +int_p_cs_precedes 1 +int_p_sep_by_space 0 +int_n_cs_precedes 1 +int_n_sep_by_space 0 +int_p_sign_posn 1 +int_n_sign_posn 1 +END LC_MONETARY + +LC_TIME +% This is the POSIX Locale definition for the LC_TIME category. +% These are generated based on XML base Locale difintion file +% for IBM Class for Unicode/Java +% 日, 一, 二, 三, 四, 五, 六 +abday "";"";/ + "";"";/ + "";"";/ + "" +% +% Full weekday names (%A) +% 禮拜日, 禮拜一, 禮拜二, 禮拜三, 禮拜四, 禮拜五, 禮拜六 +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Abbreviated month names (%b) +abmon " 1";/ + " 2";/ + " 3";/ + " 4";/ + " 5";/ + " 6";/ + " 7";/ + " 8";/ + " 9";/ + "10";/ + "11";/ + "12" +% +% Full month names (%B) +mon "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"";/ + "";"" +% +% Equivalent of AM PM +% 上晝;下晝 +am_pm "";"" +% +% Appropriate date and time representation +% %Y年%m月%d號 %A %H點%M分%S秒 +d_t_fmt "%Y%m%d %A %H%M%S" +% +% Appropriate date representation +% %Y年%m月%d號 %A +d_fmt "%Y%m%d %A" +% +% Appropriate time representation +% %H點%M分%S秒 +t_fmt "%H%M%S" +% +% Appropriate 12 h time representation +% %p%I點%M分%S秒 +t_fmt_ampm "%p%I%M/ +%S" +% +% Appropriate date representation (date(1)) +% %Y年 %b %e日 %A %H:%M:%S %Z +date_fmt "%Y %b / +%e %A %H/ +:%M:%S %Z" +% FIXME: found in CLDR +week 7;19971130;1 +first_weekday 2 + +era "+:2:1913//01//01:+*::%EC%Ey";/ + "+:1:1912//01//01:1912//12//31::%EC";/ + "+:1:1911//12//31:-*::%EC%Ey" +END LC_TIME + +LC_MESSAGES +yesexpr "^[+1yY]" +noexpr "^[-0nN]" +yesstr "" +nostr "" +END LC_MESSAGES + +LC_PAPER +height 297 +width 210 +END LC_PAPER + +LC_MEASUREMENT +% metric +measurement 1 +END LC_MEASUREMENT + +LC_NAME +name_fmt "%f%t%g%t%d" +% 君 +name_gen "" +% 姑娘 +name_miss "" +% 生 +name_mr "" +% 太 +name_mrs "" +% 女士 +name_ms "" +END LC_NAME + +LC_ADDRESS +% This is the ISO_IEC TR14652 Locale definition for the +% LC_ADDRESS +% postal_fmt: "%c%T%s%h%N%b%e%r%N%f%N%d%N%a" +postal_fmt "%c%T%s%h/ +%N%b%e%r%N/ +%f%N%d%N%a" +% 中華民國 +country_name "" +country_post "TW" +country_ab2 "TW" +country_ab3 "TWN" +country_num 158 +country_car "RC" +country_isbn 957 +% 漢語粵語 +lang_name "" +lang_term "yue" +lang_lib "yue" +END LC_ADDRESS + +LC_TELEPHONE +tel_int_fmt "+%c-%a-%l" +tel_dom_fmt "%A-%l" +int_select "00" +int_prefix "886" +END LC_TELEPHONE -- 2.33.1