* localedata: Updates for Taiwanese locales [BZ #24409]
@ 2021-04-08 7:05 趙惟倫 via Libc-alpha
2021-04-20 2:00 ` H.J. Lu via Libc-alpha
0 siblings, 1 reply; 4+ messages in thread
From: 趙惟倫 via Libc-alpha @ 2021-04-08 7:05 UTC (permalink / raw)
To: libc-alpha
[-- Attachment #1: Type: text/plain, Size: 782 bytes --]
Rationale:
* Header cleanup: make the header of localedata files consistent
* Remove space (abmon): remove the extra prefix space in abmon 1~9
* 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
* Simplify (yesexpr) and (noexpr): remove unusual full-width characters
* Add collation: add missing collation used in cmn_TW
Changelog:
* localedata/locales/cmn_TW: Header cleanup; Remove space (abmon); Add
(week); Change (thousands_sep); Simplify (yesexpr) and (noexpr).
* localedata/locales/hak_TW: Likewise and add collation.
* localedata/locales/nan_TW: Likewise and add collation.
* localedata/locales/lzh_TW: Likewise and add collation.
[-- Attachment #2: 0001-localedata-Updates-for-Taiwanese-locales-BZ-24409.patch --]
[-- Type: text/x-patch, Size: 18986 bytes --]
From 35b9ece28f8c4adf53ec222b54ab6b3b291b5e78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B6=99=E6=83=9F=E5=80=AB?= <bluebat@member.fsf.org>
Date: Thu, 8 Apr 2021 14:12:47 +0800
Subject: [PATCH] localedata: Updates for Taiwanese locales [BZ #24409]
---
localedata/locales/cmn_TW | 40 +++++------
localedata/locales/hak_TW | 72 ++++++++++----------
localedata/locales/lzh_TW | 136 +++++++++++++++++++++++---------------
localedata/locales/nan_TW | 86 ++++++++++++------------
4 files changed, 183 insertions(+), 151 deletions(-)
diff --git a/localedata/locales/cmn_TW b/localedata/locales/cmn_TW
index 9d9aca0f9e..67dcee5b65 100644
--- a/localedata/locales/cmn_TW
+++ b/localedata/locales/cmn_TW
@@ -8,15 +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 <bluebat@member.fsf.org>
-%
% build with: localedef -f UTF-8 -i cmn_TW cmn_TW
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
LC_IDENTIFICATION
title "Mandarin Chinese locale for the Republic of China"
@@ -28,8 +22,8 @@ tel ""
fax ""
language "Mandarin Chinese"
territory "Taiwan"
-revision "0.2"
-date "2017-07-20"
+revision "0.3"
+date "2019-04-02"
category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_CTYPE
@@ -77,16 +71,16 @@ mon "<U4E00><U6708>";/
"<U5341><U6708>";/
"<U5341><U4E00><U6708>";/
"<U5341><U4E8C><U6708>"
-% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月
-abmon " 1<U6708>";/
- " 2<U6708>";/
- " 3<U6708>";/
- " 4<U6708>";/
- " 5<U6708>";/
- " 6<U6708>";/
- " 7<U6708>";/
- " 8<U6708>";/
- " 9<U6708>";/
+% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月
+abmon "1<U6708>";/
+ "2<U6708>";/
+ "3<U6708>";/
+ "4<U6708>";/
+ "5<U6708>";/
+ "6<U6708>";/
+ "7<U6708>";/
+ "8<U6708>";/
+ "9<U6708>";/
"10<U6708>";/
"11<U6708>";/
"12<U6708>"
@@ -119,6 +113,8 @@ am_pm "<U4E0A><U5348>";/
t_fmt_ampm "%p %I<U9EDE>%M<U5206>%S<U79D2>"
% %Y年 %b %-d號 %A %H:%M:%S %Z
date_fmt "%Y<U5E74> %b %-d<U865F> %A %H:%M:%S %Z"
+week 7;19971130;1
+first_weekday 2
era "+:2:1913//01//01:+*:<U6C11><U570B>:%EC%Ey<U5E74>";/
"+:1:1912//01//01:1912//12//31:<U6C11><U570B>:%EC<U5143><U5E74>";/
@@ -127,7 +123,7 @@ END LC_TIME
LC_NUMERIC
decimal_point "."
-thousands_sep ","
+thousands_sep "'"
grouping 4
END LC_NUMERIC
@@ -135,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 "-"
@@ -166,8 +162,8 @@ measurement 1
END LC_MEASUREMENT
LC_MESSAGES
-yesexpr "^[+1yY<UFF59><UFF39><U662F>]"
-noexpr "^[-0nN<UFF4E><UFF2E><U4E0D><U5426>]"
+yesexpr "^[yY]"
+noexpr "^[nN]"
% 是
yesstr "<U662F>"
% 不是
diff --git a/localedata/locales/hak_TW b/localedata/locales/hak_TW
index 73b9678ec4..f53c4dcd88 100644
--- a/localedata/locales/hak_TW
+++ b/localedata/locales/hak_TW
@@ -8,15 +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 <bluebat@member.fsf.org>
-%
% build with: localedef -f UTF-8 -i hak_TW hak_TW
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
LC_IDENTIFICATION
title "Hakka Chinese locale for the Republic of China"
@@ -28,8 +22,8 @@ tel ""
fax ""
language "Hakka Chinese"
territory "Taiwan"
-revision "0.1"
-date "2013-06-02"
+revision "0.2"
+date "2019-04-02"
category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_CTYPE
@@ -47,17 +41,20 @@ END LC_IDENTIFICATION
LC_CTYPE
copy "i18n"
+translit_start
+include "translit_combining";""
+translit_end
+
class "hanzi"; /
<U3007>;/
<U3400>..<U4DBF>;/
<U4E00>..<U9FA5>;/
<UF900>..<UFA6A>;/
-<U00020000>..<U0002A6D6>;/
-<U0002F800>..<U0002FA1D>
+<U00020000>..<U0002FA1D>
END LC_CTYPE
LC_COLLATE
-copy "iso14651_t1"
+copy "cns11643_stroke"
END LC_COLLATE
LC_TIME
@@ -74,16 +71,16 @@ mon "<U4E00><U6708>";/
"<U5341><U6708>";/
"<U5341><U4E00><U6708>";/
"<U5341><U4E8C><U6708>"
-% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月
-abmon " 1<U6708>";/
- " 2<U6708>";/
- " 3<U6708>";/
- " 4<U6708>";/
- " 5<U6708>";/
- " 6<U6708>";/
- " 7<U6708>";/
- " 8<U6708>";/
- " 9<U6708>";/
+% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月
+abmon "1<U6708>";/
+ "2<U6708>";/
+ "3<U6708>";/
+ "4<U6708>";/
+ "5<U6708>";/
+ "6<U6708>";/
+ "7<U6708>";/
+ "8<U6708>";/
+ "9<U6708>";/
"10<U6708>";/
"11<U6708>";/
"12<U6708>"
@@ -103,19 +100,20 @@ abday "<U65E5>";/
"<U56DB>";/
"<U4E94>";/
"<U516D>"
-% %Y年%m月%d日 (%A) %H點%M分%S秒
-d_t_fmt "%Y<U5E74>%m<U6708>%d<U65E5> (%A) %H<U9EDE>%M<U5206>%S<U79D2>"
-% %Y年%m月%d日
-d_fmt "%Y<U5E74>%m<U6708>%d<U65E5>"
+% %Y年%m月%d號 (%A) %H點%M分%S秒
+d_t_fmt "%Y<U5E74>%m<U6708>%d<U865F> (%A) %H<U9EDE>%M<U5206>%S<U79D2>"
+% %Y年%m月%d號
+d_fmt "%Y<U5E74>%m<U6708>%d<U865F>"
% %H點%M分%S秒
t_fmt "%H<U9EDE>%M<U5206>%S<U79D2>"
% 上晝, 下晝
am_pm "<U4E0A><U665D>";"<U4E0B><U665D>"
% %p %I點%M分%S秒
t_fmt_ampm "%p %I<U9EDE>%M<U5206>%S<U79D2>"
-% %Y年 %b %e日 %A %H:%M:%S %Z
-date_fmt "%Y<U5E74> %b %e<U65E5> %A %H:%M:%S %Z"
+% %Y年 %b %-d號 %A %H:%M:%S %Z
+date_fmt "%Y<U5E74> %b %-d<U865F> %A %H:%M:%S %Z"
week 7;19971130;1
+first_weekday 2
era "+:2:1913//01//01:+*:<U6C11><U570B>:%EC%Ey<U5E74>";/
"+:1:1912//01//01:1912//12//31:<U6C11><U570B>:%EC<U5143><U5E74>";/
@@ -124,7 +122,7 @@ END LC_TIME
LC_NUMERIC
decimal_point "."
-thousands_sep ","
+thousands_sep "'"
grouping 4
END LC_NUMERIC
@@ -132,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 "-"
@@ -153,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<UFF59><UFF39><U4FC2>]"
-% ^[-0nNnN毋]
-noexpr "^[-0nN<UFF4E><UFF2E><U6BCB>]"
+yesexpr "^[yY]"
+noexpr "^[nN]"
+% 係
+yesstr "<U4FC2>"
+% 毋係
+nostr "<U6BCB><U4FC2>"
END LC_MESSAGES
LC_NAME
diff --git a/localedata/locales/lzh_TW b/localedata/locales/lzh_TW
index 4740418a83..563efe38a8 100644
--- a/localedata/locales/lzh_TW
+++ b/localedata/locales/lzh_TW
@@ -8,15 +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 <bluebat@member.fsf.org>
-%
% build with: localedef -f UTF-8 -i lzh_TW lzh_TW
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
LC_IDENTIFICATION
title "Literary Chinese locale for the Republic of China"
@@ -28,8 +22,8 @@ tel ""
fax ""
language "Literary Chinese"
territory "Taiwan"
-revision "0.1"
-date "2013-06-02"
+revision "0.2"
+date "2019-04-02"
category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_CTYPE
@@ -47,44 +41,47 @@ END LC_IDENTIFICATION
LC_CTYPE
copy "i18n"
+translit_start
+include "translit_combining";""
+translit_end
+
class "hanzi"; /
<U3007>;/
<U3400>..<U4DBF>;/
<U4E00>..<U9FA5>;/
<UF900>..<UFA6A>;/
-<U00020000>..<U0002A6D6>;/
-<U0002F800>..<U0002FA1D>
+<U00020000>..<U0002FA1D>
END LC_CTYPE
LC_COLLATE
-copy "iso14651_t1"
+copy "cns11643_stroke"
END LC_COLLATE
LC_TIME
-% 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月
-mon "<U4E00><U6708>";/
- "<U4E8C><U6708>";/
- "<U4E09><U6708>";/
- "<U56DB><U6708>";/
- "<U4E94><U6708>";/
- "<U516D><U6708>";/
- "<U4E03><U6708>";/
- "<U516B><U6708>";/
- "<U4E5D><U6708>";/
- "<U5341><U6708>";/
- "<U5341><U4E00><U6708>";/
- "<U5341><U4E8C><U6708>"
-% 一 , 二 , 三 , 四 , 五 , 六 , 七 , 八 , 九 , 十 , 十一, 十二
-abmon " <U4E00> ";/
- " <U4E8C> ";/
- " <U4E09> ";/
- " <U56DB> ";/
- " <U4E94> ";/
- " <U516D> ";/
- " <U4E03> ";/
- " <U516B> ";/
- " <U4E5D> ";/
- " <U5341> ";/
+% 孟春, 仲春, 季春, 孟夏, 仲夏, 季夏, 孟秋, 仲秋, 季秋, 孟冬, 仲冬, 季冬
+mon "<U5B5F><U6625>";/
+ "<U4EF2><U6625>";/
+ "<U5B63><U6625>";/
+ "<U5B5F><U590F>";/
+ "<U4EF2><U590F>";/
+ "<U5B63><U590F>";/
+ "<U5B5F><U79CB>";/
+ "<U4EF2><U79CB>";/
+ "<U5B63><U79CB>";/
+ "<U5B5F><U51AC>";/
+ "<U4EF2><U51AC>";/
+ "<U5B63><U51AC>"
+% 一, 二, 三, 四, 五, 六, 七, 八, 九, 十, 十一, 十二
+abmon "<U4E00>";/
+ "<U4E8C>";/
+ "<U4E09>";/
+ "<U56DB>";/
+ "<U4E94>";/
+ "<U516D>";/
+ "<U4E03>";/
+ "<U516B>";/
+ "<U4E5D>";/
+ "<U5341>";/
"<U5341><U4E00>";/
"<U5341><U4E8C>"
% 週日, 週一, 週二, 週三, 週四, 週五, 週六
@@ -103,19 +100,21 @@ abday "<U65E5>";/
"<U56DB>";/
"<U4E94>";/
"<U516D>"
-% %OC%Oy年%B%Od日 (%A) %OH時%OM分%OS秒
-d_t_fmt "%OC%Oy<U5E74>%B%Od<U65E5> (%A) %OH<U6642>%OM<U5206>%OS<U79D2>"
-% %OC%Oy年%B%Od日
-d_fmt "%OC%Oy<U5E74>%B%Od<U65E5>"
+% %Y年%B%Od (%A) %OH時%OM分%OS秒
+d_t_fmt "%Y<U5E74>%B%Od (%A) %OH<U6642>%OM<U5206>%OS<U79D2>"
+% %Y年%B%Od
+d_fmt "%Y<U5E74>%B%Od"
% %OH時%OM分%OS秒
t_fmt "%OH<U6642>%OM<U5206>%OS<U79D2>"
% 朝, 暮
-am_pm "<U671D>";"<U66AE>"
+am_pm "<U671D>";/
+ "<U66AE>"
% %p %OI時%OM分%OS秒
t_fmt_ampm "%p %OI<U6642>%OM<U5206>%OS<U79D2>"
-% 公曆 %C%Oy年 %B %Oe日 %A %OH時%OM分%OS秒
-date_fmt "<U516C><U66C6> %C%Oy<U5E74> %B %Oe<U65E5> %A %OH<U6642>%OM<U5206>%OS<U79D2>"
-% 〇, 一, 二, 三, 四, 五, 六, 七, 八, 九, 十, 十一, 十二, 十三, 十四, 十五, 十六, 十七, 十八, 十九, 廿, 廿一, 廿二, 廿三, 廿四, 廿五, 廿六, 廿七, 廿八, 廿九, 卅, 卅一
+% 公曆 %Y年 %B %Oe %A %OH時%OM分%OS秒
+date_fmt "<U516C><U66C6> %Y<U5E74> %B %Oe %A %OH<U6642>%OM<U5206>%OS<U79D2>"
+% 〇, 一, 二, 三, 四, 五, 六, 七, 八, 九, 十, 十一, 十二, 十三, 十四, 十五, 十六, 十七, 十八, 十九, 廿, 廿一, 廿二, 廿三, 廿四, 廿五, 廿六, 廿七, 廿八, 廿九, 卅, 卅一,
+% 卅二, 卅三, 卅四, 卅五, 卅六, 卅七, 卅八, 卅九, 四十, 四十一, 四十二, 四十三, 四十四, 四十五, 四十六, 四十七, 四十八, 四十九, 五十, 五十一, 五十二, 五十三, 五十四, 五十五, 五十六, 五十七, 五十八, 五十九
alt_digits "<U3007>";/
"<U4E00>";/
"<U4E8C>";/
@@ -147,9 +146,38 @@ alt_digits "<U3007>";/
"<U5EFF><U516B>";/
"<U5EFF><U4E5D>";/
"<U5345>";/
- "<U5345><U4E00>"
+ "<U5345><U4E00>";/
+ "<U5345><U4E8C>";/
+ "<U5345><U4E09>";/
+ "<U5345><U56DB>";/
+ "<U5345><U4E94>";/
+ "<U5345><U516D>";/
+ "<U5345><U4E03>";/
+ "<U5345><U516B>";/
+ "<U5345><U4E5D>";/
+ "<U56DB><U5341>";/
+ "<U56DB><U5341><U4E00>";/
+ "<U56DB><U5341><U4E8C>";/
+ "<U56DB><U5341><U4E09>";/
+ "<U56DB><U5341><U56DB>";/
+ "<U56DB><U5341><U4E94>";/
+ "<U56DB><U5341><U516D>";/
+ "<U56DB><U5341><U4E03>";/
+ "<U56DB><U5341><U516B>";/
+ "<U56DB><U5341><U4E5D>";/
+ "<U56DB><U5341>";/
+ "<U4E94><U5341><U4E00>";/
+ "<U4E94><U5341><U4E8C>";/
+ "<U4E94><U5341><U4E09>";/
+ "<U4E94><U5341><U56DB>";/
+ "<U4E94><U5341><U4E94>";/
+ "<U4E94><U5341><U516D>";/
+ "<U4E94><U5341><U4E03>";/
+ "<U4E94><U5341><U516B>";/
+ "<U4E94><U5341><U4E5D>"
%
week 7;19971130;1
+first_weekday 2
era "+:2:1913//01//01:+*:<U6C11><U570B>:%EC%Ey<U5E74>";/
"+:1:1912//01//01:1912//12//31:<U6C11><U570B>:%EC<U5143><U5E74>";/
@@ -158,7 +186,7 @@ END LC_TIME
LC_NUMERIC
decimal_point "."
-thousands_sep ","
+thousands_sep "'"
grouping 4
END LC_NUMERIC
@@ -166,7 +194,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 "-"
@@ -187,18 +215,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<UFF59><UFF39><U662F>]"
-% ^[-0nNnN非]
-noexpr "^[-0nN<UFF4E><UFF2E><U975E>]"
+yesexpr "^[yY]"
+noexpr "^[nN]"
+% 是
+yesstr "<U662F>"
+% 否
+nostr "<U5426>"
END LC_MESSAGES
LC_NAME
diff --git a/localedata/locales/nan_TW b/localedata/locales/nan_TW
index 0c2a56f4ca..678deacf8a 100644
--- a/localedata/locales/nan_TW
+++ b/localedata/locales/nan_TW
@@ -1,22 +1,16 @@
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.
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
+% This file is a part of GNU C Library (glibc) 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 GNU C Library (glibc) as a whole. It does not 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 <bluebat@member.fsf.org>
-%
% build with: localedef -f UTF-8 -i nan_TW nan_TW
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
LC_IDENTIFICATION
title "Min Nan Chinese locale for the Republic of China"
@@ -28,8 +22,8 @@ tel ""
fax ""
language "Min Nan Chinese"
territory "Taiwan"
-revision "0.1"
-date "2013-06-02"
+revision "0.2"
+date "2019-04-02"
category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_CTYPE
@@ -47,17 +41,20 @@ END LC_IDENTIFICATION
LC_CTYPE
copy "i18n"
+translit_start
+include "translit_combining";""
+translit_end
+
class "hanzi"; /
<U3007>;/
<U3400>..<U4DBF>;/
<U4E00>..<U9FA5>;/
<UF900>..<UFA6A>;/
-<U00020000>..<U0002A6D6>;/
-<U0002F800>..<U0002FA1D>
+<U00020000>..<U0002FA1D>
END LC_CTYPE
LC_COLLATE
-copy "iso14651_t1"
+copy "cns11643_stroke"
END LC_COLLATE
LC_TIME
@@ -74,16 +71,16 @@ mon "<U4E00><U6708>";/
"<U5341><U6708>";/
"<U5341><U4E00><U6708>";/
"<U5341><U4E8C><U6708>"
-% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月
-abmon " 1<U6708>";/
- " 2<U6708>";/
- " 3<U6708>";/
- " 4<U6708>";/
- " 5<U6708>";/
- " 6<U6708>";/
- " 7<U6708>";/
- " 8<U6708>";/
- " 9<U6708>";/
+% 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月
+abmon "1<U6708>";/
+ "2<U6708>";/
+ "3<U6708>";/
+ "4<U6708>";/
+ "5<U6708>";/
+ "6<U6708>";/
+ "7<U6708>";/
+ "8<U6708>";/
+ "9<U6708>";/
"10<U6708>";/
"11<U6708>";/
"12<U6708>"
@@ -103,10 +100,10 @@ abday "<U65E5>";/
"<U56DB>";/
"<U4E94>";/
"<U516D>"
-% %Y年%m月%d日 (%A) %H點%M分%S秒
-d_t_fmt "%Y<U5E74>%m<U6708>%d<U65E5> (%A) %H<U9EDE>%M<U5206>%S<U79D2>"
-% %Y年%m月%d日
-d_fmt "%Y<U5E74>%m<U6708>%d<U65E5>"
+% %Y年%m月%d號 (%A) %H點%M分%S秒
+d_t_fmt "%Y<U5E74>%m<U6708>%d<U865F> (%A) %H<U9EDE>%M<U5206>%S<U79D2>"
+% %Y年%m月%d號
+d_fmt "%Y<U5E74>%m<U6708>%d<U865F>"
% %H點%M分%S秒
t_fmt "%H<U9EDE>%M<U5206>%S<U79D2>"
% 頂晡, 下晡
@@ -114,9 +111,10 @@ am_pm "<U9802><U6661>";/
"<U4E0B><U6661>"
% %p %I點%M分%S秒
t_fmt_ampm "%p %I<U9EDE>%M<U5206>%S<U79D2>"
-% %Y年 %b %e日 %A %H:%M:%S %Z
-date_fmt "%Y<U5E74> %b %e<U65E5> %A %H:%M:%S %Z"
+% %Y年 %b %-d號 %A %H:%M:%S %Z
+date_fmt "%Y<U5E74> %b %-d<U865F> %A %H:%M:%S %Z"
week 7;19971130;1
+first_weekday 2
era "+:2:1913//01//01:+*:<U6C11><U570B>:%EC%Ey<U5E74>";/
"+:1:1912//01//01:1912//12//31:<U6C11><U570B>:%EC<U5143><U5E74>";/
@@ -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 "-"
@@ -154,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<UFF59><UFF39><U662F>]"
-% ^[-0nNnN伓]
-noexpr "^[-0nN<UFF4E><UFF2E><U4F13>]"
+yesexpr "^[yY]"
+noexpr "^[nN]"
+% 是
+yesstr "<U662F>"
+% 毋是
+nostr "<U6BCB><U662F>"
END LC_MESSAGES
LC_NAME
--
2.30.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: localedata: Updates for Taiwanese locales [BZ #24409]
2021-04-08 7:05 localedata: Updates for Taiwanese locales [BZ #24409] 趙惟倫 via Libc-alpha
@ 2021-04-20 2:00 ` H.J. Lu via Libc-alpha
2021-04-20 5:37 ` Wei-Lun Chao via Libc-alpha
0 siblings, 1 reply; 4+ messages in thread
From: H.J. Lu via Libc-alpha @ 2021-04-20 2:00 UTC (permalink / raw)
To: 趙惟倫; +Cc: libc-alpha
On Thu, Apr 8, 2021 at 12:06 AM 趙惟倫 via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> Rationale:
> * Header cleanup: make the header of localedata files consistent
> * Remove space (abmon): remove the extra prefix space in abmon 1~9
> * Add (week): add the missing definition of week and first_weekday to 2
> * Change (thousands_sep): change the thousands_sep from [,] to ['] to
Is space better than ['] as the decimal separator?
> avoid confusion of grouping 4 with usual grouping 3
> * Simplify (yesexpr) and (noexpr): remove unusual full-width characters
> * Add collation: add missing collation used in cmn_TW
>
> Changelog:
> * localedata/locales/cmn_TW: Header cleanup; Remove space (abmon); Add
> (week); Change (thousands_sep); Simplify (yesexpr) and (noexpr).
> * localedata/locales/hak_TW: Likewise and add collation.
> * localedata/locales/nan_TW: Likewise and add collation.
> * localedata/locales/lzh_TW: Likewise and add collation.
Isn't 孟春, 仲春, 季春, 孟夏, 仲夏, 季夏, 孟秋, 仲秋, 季秋, 孟冬, 仲冬, 季冬 for
lunar calendar?
--
H.J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: localedata: Updates for Taiwanese locales [BZ #24409]
2021-04-20 2:00 ` H.J. Lu via Libc-alpha
@ 2021-04-20 5:37 ` Wei-Lun Chao via Libc-alpha
2021-04-20 12:48 ` H.J. Lu via Libc-alpha
0 siblings, 1 reply; 4+ messages in thread
From: Wei-Lun Chao via Libc-alpha @ 2021-04-20 5:37 UTC (permalink / raw)
To: H.J. Lu; +Cc: libc-alpha
H.J. Lu <hjl.tools@gmail.com> 於 2021年4月20日 週二 上午10:01寫道:
>
> On Thu, Apr 8, 2021 at 12:06 AM 趙惟倫 via Libc-alpha
> <libc-alpha@sourceware.org> wrote:
> >
> > Rationale:
> > * Header cleanup: make the header of localedata files consistent
> > * Remove space (abmon): remove the extra prefix space in abmon 1~9
> > * Add (week): add the missing definition of week and first_weekday to 2
> > * Change (thousands_sep): change the thousands_sep from [,] to ['] to
>
> Is space better than ['] as the decimal separator?
Do you mean: thin-space <U2009> better than ['] as thousands separator?
If so, Yes, it can be considered.
>
> > avoid confusion of grouping 4 with usual grouping 3
> > * Simplify (yesexpr) and (noexpr): remove unusual full-width characters
> > * Add collation: add missing collation used in cmn_TW
> >
> > Changelog:
> > * localedata/locales/cmn_TW: Header cleanup; Remove space (abmon); Add
> > (week); Change (thousands_sep); Simplify (yesexpr) and (noexpr).
> > * localedata/locales/hak_TW: Likewise and add collation.
> > * localedata/locales/nan_TW: Likewise and add collation.
> > * localedata/locales/lzh_TW: Likewise and add collation.
>
> Isn't 孟春, 仲春, 季春, 孟夏, 仲夏, 季夏, 孟秋, 仲秋, 季秋, 孟冬, 仲冬, 季冬 for
> lunar calendar?
Yes, you are right. They are not so appropriate. Have you any
suggestion for lzh_TW, or we should just keep using 一月…十二月 as in
cmn_TW?
>
> --
> H.J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: localedata: Updates for Taiwanese locales [BZ #24409]
2021-04-20 5:37 ` Wei-Lun Chao via Libc-alpha
@ 2021-04-20 12:48 ` H.J. Lu via Libc-alpha
0 siblings, 0 replies; 4+ messages in thread
From: H.J. Lu via Libc-alpha @ 2021-04-20 12:48 UTC (permalink / raw)
To: Wei-Lun Chao; +Cc: libc-alpha
On Mon, Apr 19, 2021 at 10:37 PM Wei-Lun Chao <bluebat@member.fsf.org> wrote:
>
> H.J. Lu <hjl.tools@gmail.com> 於 2021年4月20日 週二 上午10:01寫道:
> >
> > On Thu, Apr 8, 2021 at 12:06 AM 趙惟倫 via Libc-alpha
> > <libc-alpha@sourceware.org> wrote:
> > >
> > > Rationale:
> > > * Header cleanup: make the header of localedata files consistent
> > > * Remove space (abmon): remove the extra prefix space in abmon 1~9
> > > * Add (week): add the missing definition of week and first_weekday to 2
> > > * Change (thousands_sep): change the thousands_sep from [,] to ['] to
> >
> > Is space better than ['] as the decimal separator?
> Do you mean: thin-space <U2009> better than ['] as thousands separator?
Yes.
> If so, Yes, it can be considered.
>
> >
> > > avoid confusion of grouping 4 with usual grouping 3
> > > * Simplify (yesexpr) and (noexpr): remove unusual full-width characters
> > > * Add collation: add missing collation used in cmn_TW
> > >
> > > Changelog:
> > > * localedata/locales/cmn_TW: Header cleanup; Remove space (abmon); Add
> > > (week); Change (thousands_sep); Simplify (yesexpr) and (noexpr).
> > > * localedata/locales/hak_TW: Likewise and add collation.
> > > * localedata/locales/nan_TW: Likewise and add collation.
> > > * localedata/locales/lzh_TW: Likewise and add collation.
> >
> > Isn't 孟春, 仲春, 季春, 孟夏, 仲夏, 季夏, 孟秋, 仲秋, 季秋, 孟冬, 仲冬, 季冬 for
> > lunar calendar?
> Yes, you are right. They are not so appropriate. Have you any
> suggestion for lzh_TW, or we should just keep using 一月…十二月 as in
> cmn_TW?
>
I think so.
--
H.J.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-20 12:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 7:05 localedata: Updates for Taiwanese locales [BZ #24409] 趙惟倫 via Libc-alpha
2021-04-20 2:00 ` H.J. Lu via Libc-alpha
2021-04-20 5:37 ` Wei-Lun Chao via Libc-alpha
2021-04-20 12:48 ` H.J. Lu via Libc-alpha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).