From patchwork Fri Nov 26 04:56:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Wei-Lun Chao X-Patchwork-Id: 48167 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 5B92A385842E for ; Fri, 26 Nov 2021 04:57:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5B92A385842E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1637902638; bh=JbedslqT6Ktm/wxoiqQQhXvwGe7cl2y5zItnfXEHuk0=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Rayv12GezKLoqJ1rV8IZ2FzHlEQpexTa6hP1ilMRk+iXy6x+cN3PqII1bbC26Y3fU rFALjaxN3p1Kn8EpdGHqeACxxj8leWn/PtfALMYCPIpY6TFD3J4PEGExqXQcW4L7iI dACegsgSfyRyB3wSYZLNtqV9gTsHBr4vTI2f71Vk= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) by sourceware.org (Postfix) with ESMTPS id 6CE353858400 for ; Fri, 26 Nov 2021 04:56:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6CE353858400 Received: by mail-qv1-f45.google.com with SMTP id b17so6264922qvl.9 for ; Thu, 25 Nov 2021 20:56:54 -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=JbedslqT6Ktm/wxoiqQQhXvwGe7cl2y5zItnfXEHuk0=; b=v8rklICx5bRo4kWST19bW9wUgCLu7mPtJynDxREwlAw1i1G1XH3NZDCfoAQvHxolzM fpRE40JwdY/+F9RdoLtF2cVpNsBxnTUfu4lCwz2dMlKwRWfx6923NpTJoL18WhfdC0Qj j4AmWMdfUSaGMLoOaNQsRgN6P6qoB/FOBbxWynplOBEcjTHpDDEXKJaaA0luVF/Vo1Y4 AbmlWU1vhP5YMTVrk4qyeCl6aBLd7TQMJnLmcrrGdnY0ORVDXHQZ6GG68Q15HLuQSyJQ GLdwQTLUNMdv8HwkGGWYzkkK5NIKr2RiVQqD1/ztJcidn5nkDcBPsGxfmyl0T+tt+zCZ E2bQ== X-Gm-Message-State: AOAM5339FxjuP5cOSO8jZALuM4wZdMX5EzenwB7c7MFAoRNw3MmBvJyq QsPqdOE3LcM6Y+sh2s/QhXetNzBBjN4Lt6UQp2RqiXUPQi8= X-Google-Smtp-Source: ABdhPJy5TDqB7LIJT9XMqyaDgTipvd0Bievc6H3M2HvO14lleiKX+HEk/QCqHkn5OmMbsvg9ARuyKYThKtaRvMZl+XA= X-Received: by 2002:a05:6214:188:: with SMTP id q8mr10474015qvr.123.1637902613854; Thu, 25 Nov 2021 20:56:53 -0800 (PST) MIME-Version: 1.0 Date: Fri, 26 Nov 2021 12:56:42 +0800 Message-ID: Subject: [PATCH v4] localedata: Updates for Taiwanese locales [BZ #24409] To: libc-alpha , "Carlos O'Donell" , TAMUKI Shoichi X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, BODY_8BITS, FILL_THIS_FORM, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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: Wei-Lun Chao via Libc-alpha From: Wei-Lun Chao Reply-To: Wei-Lun Chao 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 6ec22ebf82f5c2680b8147c895fcb9580f6985c6 Mon Sep 17 00:00:00 2001 From: Wei-Lun Chao Date: Fri, 26 Nov 2021 11:25:12 +0800 Subject: [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..9e5bc0414a 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