public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/3] localedata: add new locale zgh_MA
@ 2024-01-09 15:49 Mike FABIAN
  2024-01-09 15:49 ` [PATCH 2/3] localedata: add new locale su_ID Mike FABIAN
  2024-01-09 15:49 ` [PATCH 3/3] localedata: su_ID: make lang_name agree with CLDR Mike FABIAN
  0 siblings, 2 replies; 3+ messages in thread
From: Mike FABIAN @ 2024-01-09 15:49 UTC (permalink / raw)
  To: libc-alpha; +Cc: Mike FABIAN

Resolves: BZ # 12908

https://iso639-3.sil.org/code/zgh
---
 locale/iso-639.def        |   1 +
 localedata/SUPPORTED      |   1 +
 localedata/locales/zgh_MA | 190 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 192 insertions(+)
 create mode 100644 localedata/locales/zgh_MA

diff --git a/locale/iso-639.def b/locale/iso-639.def
index 0bdceb784d..313154bd3c 100644
--- a/locale/iso-639.def
+++ b/locale/iso-639.def
@@ -451,6 +451,7 @@ DEFINE_LANGUAGE_CODE3 ("South American Indian (Other)", sai, sai)
 DEFINE_LANGUAGE_CODE3 ("Southern Sami", sma, sma)
 DEFINE_LANGUAGE_CODE ("Spanish; Castilian", es, spa, spa)
 DEFINE_LANGUAGE_CODE3 ("Sranan Tongo", srn, srn)
+DEFINE_LANGUAGE_CODE3 (" Standard Moroccan Tamazight", zgh, zgh)
 DEFINE_LANGUAGE_CODE3 ("Sukuma", suk, suk)
 DEFINE_LANGUAGE_CODE3 ("Sumerian", sux, sux)
 DEFINE_LANGUAGE_CODE ("Sundanese", su, sun, sun)
diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 934d273507..1483e4f0cf 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -479,6 +479,7 @@ yi_US/CP1255 \
 yo_NG/UTF-8 \
 yue_HK/UTF-8 \
 yuw_PG/UTF-8 \
+zgh_MA/UTF-8 \
 zh_CN.GB18030/GB18030 \
 zh_CN.GBK/GBK \
 zh_CN.UTF-8/UTF-8 \
diff --git a/localedata/locales/zgh_MA b/localedata/locales/zgh_MA
new file mode 100644
index 0000000000..2c5df8e8a5
--- /dev/null
+++ b/localedata/locales/zgh_MA
@@ -0,0 +1,190 @@
+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.
+
+% Tamazight language locale for Morocco
+% Contributed by OUBOUALI Hakim <hakim.oubouali.skr@gmail.com>
+% and Yassine Aït-El-Mouden <yaitelmouden@outlook.com>
+
+LC_IDENTIFICATION
+title      "Tamazight language locale for Morocco"
+source     ""
+contact    "OUBOUALI Hakim"
+email      "hakim.oubouali@etu.cyu.fr"
+language   "Moroccan Tamazight"
+territory  "Morocco"
+revision   "1.0"
+date       "2020-10-18"
+
+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
+END LC_CTYPE
+
+LC_COLLATE
+
+% Copy the template from ISO/IEC 14651
+copy "iso14651_t1"
+
+END LC_COLLATE
+
+
+LC_TIME
+day     "ⴰⵙⴰⵎⴰⵙ";/
+        "ⴰⵢⵏⵏⴰⵙ";/
+        "ⴰⵢⵙⵉⵏⴰⵙ";/
+        "ⴰⴽⵕⴰⵙ";/
+        "ⴰⴽⵡⴰⵙ";/
+        "ⴰⵙⵉⵎⵡⴰⵙ";/
+        "ⴰⵙⵉⴹⵢⴰⵙ"
+
+abday   "ⴰⵙⴰ";/
+        "ⴰⵢⵏ";/
+        "ⴰⵙⵏ";/
+        "ⴰⴽⵕ";/
+        "ⴰⴽⵡ";/
+        "ⴰⵙⵎ";/
+        "ⴰⵙⴹ"
+
+mon     "ⵉⵏⵏⴰⵢⵔ";/
+        "ⴱⵕⴰⵢⵕ";/
+        "ⵎⴰⵕⵚ";/
+        "ⵉⴱⵔⵉⵔ";/
+        "ⵎⴰⵢⵢⵓ";/
+        "ⵢⵓⵏⵢⵓ";/
+        "ⵢⵓⵍⵢⵓⵣ";/
+        "ⵖⵓⵛⵜ";/
+        "ⵛⵓⵜⴰⵏⴱⵉⵔ";/
+        "ⴽⵟⵓⴱⵕ";/
+        "ⵏⵓⵡⴰⵏⴱⵉⵔ";/
+        "ⴷⵓⵊⴰⵏⴱⵉⵔ"
+
+abmon   "ⵉⵏⵏ";/
+        "ⵉⴱⵔ";/
+        "ⵎⵕⵚ";/
+        "Apr";/
+        "ⵎⴰⵢ";/
+        "ⵢⵓⵏ";/
+        "ⵢⵓⵍ";/
+        "ⵖⵓⵛ";/
+        "ⵛⵓⵜ";/
+        "ⴽⵟⵓ";/
+        "ⵏⵓⵡ";/
+        "ⴷⵓⵊ"
+%
+% Appropriate date and time representation
+d_t_fmt       "%a %d %b %Y %T"
+%
+% Appropriate date and time representation for date(1)
+date_fmt      "%a %d %b %Y %T %Z"
+% Appropriate date representation
+d_fmt         "%d//%m//%Y"
+% Appropriate time representation
+t_fmt         "%T"
+% Appropriate 12 h time representation
+t_fmt_ampm    "%I:%M:%S %p"
+%
+% Strings for AM/PM
+%
+am_pm "ⵏ ⵜⵉⴼⴰⵡⵜ";"ⵏ ⵜⴷⴳⴳⵯⴰⵜ"
+week 7;19971130;1
+first_weekday 7
+first_workday 1
+END LC_TIME
+
+LC_NUMERIC
+decimal_point ","
+thousands_sep ""
+grouping      3
+END LC_NUMERIC
+
+LC_MONETARY
+% This is the POSIX Locale definition the LC_MONETARY category.
+% These are generated based on XML base Locale definition file
+% for IBM Class for Unicode/Java
+%
+int_curr_symbol       "MAD "
+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_MESSAGES
+yesexpr "^[+1yYiI]"
+noexpr  "^[-0nNuUaA]"
+yesstr "ⵢⴰⵀ"
+nostr  "ⵓⵀⵓ"
+END LC_MESSAGES
+
+LC_PAPER
+copy "i18n"
+END LC_PAPER
+
+LC_NAME
+name_fmt  "%d%t%g%t%m%t%f"
+name_miss "ⵜⴰⵎⵙⵉⵡⵜ"
+name_mr   "ⵎⴰⵙⵙ"
+name_mrs  "ⵎⴰⵙⵙⴰ"
+name_ms   "ⵎⴰⵙⵙⴰ"
+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 "ⵜⴰⴳⵍⴷⵉⵜ ⵏ ⵓⵎⵔⵔⵓⴽ"
+country_ab2  "MA"
+country_ab3  "MAR"
+country_num  504
+country_car  "MA"
+lang_name    "ⵜⴰⵎⴰⵣⵉⵖⵜ"
+lang_term    "zgh"
+lang_lib     "zgh"
+END LC_ADDRESS
+
+LC_TELEPHONE
+% This is the ISO_IEC TR14652 Locale definition for the
+%
+tel_int_fmt "+%c ;%a ;%l"
+int_prefix  "212"
+int_select  "00"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "ar_MA"
+END LC_MEASUREMENT
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/3] localedata: add new locale su_ID
  2024-01-09 15:49 [PATCH 1/3] localedata: add new locale zgh_MA Mike FABIAN
@ 2024-01-09 15:49 ` Mike FABIAN
  2024-01-09 15:49 ` [PATCH 3/3] localedata: su_ID: make lang_name agree with CLDR Mike FABIAN
  1 sibling, 0 replies; 3+ messages in thread
From: Mike FABIAN @ 2024-01-09 15:49 UTC (permalink / raw)
  To: libc-alpha; +Cc: Mike FABIAN

Resolves: BZ # 27312
---
 localedata/SUPPORTED     |   1 +
 localedata/locales/su_ID | 164 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 165 insertions(+)
 create mode 100644 localedata/locales/su_ID

diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 1483e4f0cf..25a2db45ec 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -420,6 +420,7 @@ sr_RS@latin/UTF-8 \
 ss_ZA/UTF-8 \
 st_ZA.UTF-8/UTF-8 \
 st_ZA/ISO-8859-1 \
+su_ID/UTF-8 \
 sv_FI.UTF-8/UTF-8 \
 sv_FI/ISO-8859-1 \
 sv_FI@euro/ISO-8859-15 \
diff --git a/localedata/locales/su_ID b/localedata/locales/su_ID
new file mode 100644
index 0000000000..518c002dfc
--- /dev/null
+++ b/localedata/locales/su_ID
@@ -0,0 +1,164 @@
+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.
+
+% Sundanese language locale for Indonesia
+% Source:
+% Address:
+% Contact: Ilham Nurwansah
+% Email: ilhamnurwansah@gmail.com
+% Tel:
+% Fax:
+% Language: su
+% Territory: ID
+% Revision: 1.0
+% Date: 2021-02-02
+% Application: general
+% Users: general
+
+LC_IDENTIFICATION
+title      "Sundanese locale for Indonesia"
+source     ""
+address    ""
+contact    ""
+email      "bug-glibc-locales@gnu.org"
+tel        ""
+fax        ""
+language   "Sundanese"
+territory  "Indonesia"
+revision   "1.0"
+date       "2021-02-02"
+
+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
+END LC_CTYPE
+
+LC_COLLATE
+copy "iso14651_t1"
+END LC_COLLATE
+
+LC_MONETARY
+int_curr_symbol         "IDR "
+currency_symbol         "Rp"
+mon_decimal_point       ","
+mon_thousands_sep       "."
+mon_grouping            3;3
+positive_sign           ""
+negative_sign           "-"
+int_frac_digits         2
+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
+END LC_MONETARY
+
+LC_NUMERIC
+decimal_point           ","
+thousands_sep           "."
+grouping                3;3
+END LC_NUMERIC
+
+LC_TIME
+abday       "Min";"Sen";/
+            "Sal";"Reb";/
+            "Kem";"Jum";/
+            "Sab"
+day         "Minggu";/
+            "Senén";/
+            "Salasa";/
+            "Rebo";/
+            "Kemis";/
+            "Jumaah";/
+            "Saptu"
+abmon       "Jan";"Féb";/
+            "Mar";"Apr";/
+            "Méi";"Jun";/
+            "Jul";"Agu";/
+            "Sép";"Okt";/
+            "Nov";"Dés"
+mon         "Januari";/
+            "Fébruari";/
+            "Maret";/
+            "April";/
+            "Méi";/
+            "Juni";/
+            "Juli";/
+            "Agustus";/
+            "Séptémber";/
+            "Oktober";/
+            "Novémber";/
+            "Désémber"
+d_t_fmt     "%a %d %b %Y %r"
+date_fmt    "%a %d %b %Y %r %Z"
+d_fmt       "%d//%m//%y"
+t_fmt       "%T"
+am_pm       "";""
+t_fmt_ampm  ""
+week 7;19971130;1
+END LC_TIME
+
+LC_MESSAGES
+yesexpr "^[+1yY]"
+noexpr  "^[-0tTnN]"
+yesstr  "enya"
+nostr   "henteu"
+END LC_MESSAGES
+
+LC_PAPER
+copy "i18n"
+END LC_PAPER
+
+LC_TELEPHONE
+tel_int_fmt    "+%c %a %l"
+int_prefix     "62"
+int_select     "001,008,007,009"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "i18n"
+END LC_MEASUREMENT
+
+LC_NAME
+name_fmt    "%d%t%g%t%m%t%f"
+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 "Indonesia"
+country_ab2 "ID"
+country_ab3 "IDN"
+country_num 360
+country_car    "RI"
+lang_name    "Sundanese"
+lang_ab      "su"
+lang_term    "sun"
+lang_lib    "sun"
+END LC_ADDRESS
+
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 3/3] localedata: su_ID: make lang_name agree with CLDR
  2024-01-09 15:49 [PATCH 1/3] localedata: add new locale zgh_MA Mike FABIAN
  2024-01-09 15:49 ` [PATCH 2/3] localedata: add new locale su_ID Mike FABIAN
@ 2024-01-09 15:49 ` Mike FABIAN
  1 sibling, 0 replies; 3+ messages in thread
From: Mike FABIAN @ 2024-01-09 15:49 UTC (permalink / raw)
  To: libc-alpha; +Cc: Mike FABIAN

---
 localedata/locales/su_ID | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/localedata/locales/su_ID b/localedata/locales/su_ID
index 518c002dfc..588eb1d901 100644
--- a/localedata/locales/su_ID
+++ b/localedata/locales/su_ID
@@ -156,7 +156,7 @@ country_ab2 "ID"
 country_ab3 "IDN"
 country_num 360
 country_car    "RI"
-lang_name    "Sundanese"
+lang_name    "Basa Sunda"
 lang_ab      "su"
 lang_term    "sun"
 lang_lib    "sun"
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-09 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-09 15:49 [PATCH 1/3] localedata: add new locale zgh_MA Mike FABIAN
2024-01-09 15:49 ` [PATCH 2/3] localedata: add new locale su_ID Mike FABIAN
2024-01-09 15:49 ` [PATCH 3/3] localedata: su_ID: make lang_name agree with CLDR Mike FABIAN

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).