public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] [Bug localedata/19010] en_ID: wew locale for Indonesian English
@ 2015-09-27 22:34 Gunnar Hjalmarsson
  2015-12-30 20:56 ` Mike Frysinger
  2016-04-22  3:50 ` [PATCH] localedata: en_ID: new locale for Indonesian English [BZ #19010] Mike Frysinger
  0 siblings, 2 replies; 3+ messages in thread
From: Gunnar Hjalmarsson @ 2015-09-27 22:34 UTC (permalink / raw)
  To: libc-locales

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]

Confirmed that the proposed locale compiles, and created the attached patch.

[-- Attachment #2: en_ID.patch --]
[-- Type: text/x-diff, Size: 6206 bytes --]

commit f54212dc859c444c12adc9005bd52871c56b993c
Author: Gary Dean <garydean@linux.com>
Date:   Sun Sep 27 22:07:24 2015 +0200

    [BZ #19010] New en_ID locale for Indonesian English
    
    Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>

diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index cebbf01..2b2da7d 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,9 @@
+2015-09-27  Gary Dean  <garydean@linux.com>
+
+	[BZ #19010]
+	* locales/en_ID: New locale for Indonesian English.
+	* SUPPORTED: Add en_ID.
+
 2015-08-18  Marko Myllynen  <myllynen@redhat.com>
 
 	[BZ #16973]
diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 8ca023e..9f994c7 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -129,6 +129,7 @@ en_GB.UTF-8/UTF-8 \
 en_GB/ISO-8859-1 \
 en_HK.UTF-8/UTF-8 \
 en_HK/ISO-8859-1 \
+en_ID/UTF-8 \
 en_IE.UTF-8/UTF-8 \
 en_IE/ISO-8859-1 \
 en_IE@euro/ISO-8859-15 \
diff --git a/localedata/locales/en_ID b/localedata/locales/en_ID
new file mode 100644
index 0000000..9aa11c9
--- /dev/null
+++ b/localedata/locales/en_ID
@@ -0,0 +1,167 @@
+comment_char  %
+escape_char   /
+
+% English language locale for Indonesia.
+
+LC_IDENTIFICATION
+title      "English language locale for Indonesia"
+source     "Yayasan Teknologi Terbuka Indonesia"
+address    "yatti.id"
+contact    "Gary Dean"
+email      "info@yatti.id"
+tel         "+62213901007"
+fax         ""
+language    "English"
+territory   "Indonesia"
+revision    "1.3"
+date        "2015 July,29 (XML source:2015,July,29)"
+%
+category  "en_ID:2000";LC_IDENTIFICATION
+category  "en_ID:2000";LC_CTYPE
+category  "en_ID:2000";LC_COLLATE
+category  "en_ID:2000";LC_TIME
+category  "en_ID:2000";LC_NUMERIC
+category  "en_ID:2000";LC_MONETARY
+category  "en_ID:2000";LC_MESSAGES
+category  "en_ID:2000";LC_PAPER
+category  "en_ID:2000";LC_NAME
+category  "en_ID:2000";LC_ADDRESS
+category  "en_ID:2000";LC_TELEPHONE
+END LC_IDENTIFICATION
+
+LC_CTYPE
+copy "en_GB"
+END LC_CTYPE
+
+LC_COLLATE
+% Copy the template from ISO/IEC 14651
+copy "iso14651_t1"
+END LC_COLLATE
+
+LC_MONETARY
+int_curr_symbol       "<U0049><U0044><U0052><U0020>"
+currency_symbol       "<U0052><U0070>"
+mon_decimal_point     "<U002E>"
+mon_thousands_sep     "<U002C>"
+mon_grouping          3
+positive_sign         ""
+negative_sign         "<U002D>"
+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           0
+%
+END LC_MONETARY
+
+LC_NUMERIC
+decimal_point          "<U002E>"
+thousands_sep          "<U002C>"
+grouping               3
+%
+END LC_NUMERIC
+
+LC_TIME
+% Abbreviated weekday names (%a)
+abday       "<U0053><U0075><U006E>";"<U004D><U006F><U006E>";/
+            "<U0054><U0075><U0065>";"<U0057><U0065><U0064>";/
+            "<U0054><U0068><U0075>";"<U0046><U0072><U0069>";/
+            "<U0053><U0061><U0074>"
+%
+% Full weekday names (%A)
+day         "<U0053><U0075><U006E><U0064><U0061><U0079>";"<U004D><U006F><U006E><U0064><U0061><U0079>";/
+            "<U0054><U0075><U0065><U0073><U0064><U0061><U0079>";"<U0057><U0065><U0064><U006E><U0065><U0073><U0064><U0061><U0079>";/
+            "<U0054><U0068><U0075><U0072><U0073><U0064><U0061><U0079>";"<U0046><U0072><U0069><U0064><U0061><U0079>";/
+            "<U0053><U0061><U0074><U0075><U0072><U0064><U0061><U0079>"
+%
+% Abbreviated month names (%b)
+abmon       "<U004A><U0061><U006E>";"<U0046><U0065><U0062>";/
+            "<U004D><U0061><U0072>";"<U0041><U0070><U0072>";/
+            "<U004D><U0061><U0079>";"<U004A><U0075><U006E>";/
+            "<U004A><U0075><U006C>";"<U0041><U0075><U0067>";/
+            "<U0053><U0065><U0070>";"<U004F><U0063><U0074>";/
+            "<U004E><U006F><U0076>";"<U0044><U0065><U0063>"
+%
+% Full month names (%B)
+mon         "<U004A><U0061><U006E><U0075><U0061><U0072><U0079>";"<U0046><U0065><U0062><U0072><U0075><U0061><U0072><U0079>";/
+            "<U004D><U0061><U0072><U0063><U0068>";"<U0041><U0070><U0072><U0069><U006C>";/
+            "<U004D><U0061><U0079>";"<U004A><U0075><U006E><U0065>";/
+            "<U004A><U0075><U006C><U0079>";"<U0041><U0075><U0067><U0075><U0073><U0074>";/
+            "<U0053><U0065><U0070><U0074><U0065><U006D><U0062><U0065><U0072>";"<U004F><U0063><U0074><U006F><U0062><U0065><U0072>";/
+            "<U004E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";"<U0044><U0065><U0063><U0065><U006D><U0062><U0065><U0072>"
+%
+% Equivalent of AM PM
+%am_pm       "<U0041><U004D>";"<U0050><U004D>"
+am_pm       "";""
+% Appropriate 12 h time representation (%r)
+% %I:%M:%S %p
+t_fmt_ampm  ""
+%
+% Appropriate date and time representation
+% %a %d %b %Y %r
+d_t_fmt     "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0072>"
+%
+% Appropriate date representation
+% %d/%m/%Y
+d_fmt       "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"
+%
+% Appropriate time representation
+% %T
+t_fmt       "<U0025><U0054>"
+%
+%
+%  FIXME: found in CLDR
+first_weekday 2
+END LC_TIME
+
+LC_MESSAGES
+% ^[yY]
+yesexpr     "<U005E><U005B><U0079><U0059><U005D>"
+
+% Syntax on Unicode Regular Expression Guidelines TR#18
+% yesexpr     "<U005E><U005B><U0079><U0059><U005D>"
+
+%
+% ^[nN]
+noexpr      "<U005E><U005B><U006E><U004E><U005D>"
+
+% Syntax on Unicode Regular Expression Guidelines TR#18
+% noexpr      "<U005E><U005B><U006E><U004E><U005D>"
+%
+
+% Yes
+yesstr      "<U0059><U0065><U0073>"
+%
+% No
+nostr       "<U004E><U006F>"
+%
+END LC_MESSAGES
+
+LC_PAPER
+height      297
+width       210
+END LC_PAPER
+
+LC_NAME
+name_fmt    "<U0025><U0064><U0025><U0074><U0025><U0067><U0025><U0074>/
+<U0025><U006D><U0025><U0074><U0025><U0066>"
+END LC_NAME
+
+LC_ADDRESS
+postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073><U0025><U0062><U0025><U0065><U0025><U0072>"
+country_ab2   "<U0049><U0044>"
+country_ab3   "<U0049><U0044><U004E>"
+country_num   360
+END LC_ADDRESS
+
+LC_TELEPHONE
+tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020><U003B><U0025><U006C>"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+measurement 1
+END LC_MEASUREMENT
+

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

* Re: [PATCH] [Bug localedata/19010] en_ID: wew locale for Indonesian English
  2015-09-27 22:34 [PATCH] [Bug localedata/19010] en_ID: wew locale for Indonesian English Gunnar Hjalmarsson
@ 2015-12-30 20:56 ` Mike Frysinger
  2016-04-22  3:50 ` [PATCH] localedata: en_ID: new locale for Indonesian English [BZ #19010] Mike Frysinger
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2015-12-30 20:56 UTC (permalink / raw)
  To: Gunnar Hjalmarsson; +Cc: libc-locales

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

On 27 Sep 2015 23:29, Gunnar Hjalmarsson wrote:
> +LC_NAME
> +name_fmt    "<U0025><U0064><U0025><U0074><U0025><U0067><U0025><U0074>/
> +<U0025><U006D><U0025><U0074><U0025><U0066>"
> +END LC_NAME
> +
> +LC_ADDRESS
> +postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073><U0025><U0062><U0025><U0065><U0025><U0072>"
> +country_ab2   "<U0049><U0044>"
> +country_ab3   "<U0049><U0044><U004E>"
> +country_num   360
> +END LC_ADDRESS
> +
> +LC_MEASUREMENT
> +measurement 1
> +END LC_MEASUREMENT

for these fields you're just copying from id_ID, please use the copy
helper instead:
LC_MEASUREMENT
copy "id_ID"
END LC_MEASUREMENT

you can even override part of the copy by doing something like:
LC_ADDRESS
copy "id_ID"
postal_fmt ....
END LC_ADDRESS

this way the two don't diverge in fields that should be the same
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* [PATCH] localedata: en_ID: new locale for Indonesian English [BZ #19010]
  2015-09-27 22:34 [PATCH] [Bug localedata/19010] en_ID: wew locale for Indonesian English Gunnar Hjalmarsson
  2015-12-30 20:56 ` Mike Frysinger
@ 2016-04-22  3:50 ` Mike Frysinger
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2016-04-22  3:50 UTC (permalink / raw)
  To: libc-locales; +Cc: gunnarhj, garydean

From: Gary Dean <garydean@linux.com>

---
 localedata/ChangeLog     |   6 +++
 localedata/SUPPORTED     |   1 +
 localedata/locales/en_ID | 138 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 145 insertions(+)
 create mode 100644 localedata/locales/en_ID

diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 54ebb70..5392aed 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,9 @@
+2015-09-27  Gary Dean  <garydean@linux.com>
+
+	[BZ #19010]
+	* locales/en_ID: New locale for Indonesian English.
+	* SUPPORTED: Add en_ID.
+
 2016-04-21  Guy Rutenberg <guyrutenberg@gmail.com>
 
 	* locales/en_IL: New locale.
diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index e840bdf..732d28b 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -132,6 +132,7 @@ en_GB.UTF-8/UTF-8 \
 en_GB/ISO-8859-1 \
 en_HK.UTF-8/UTF-8 \
 en_HK/ISO-8859-1 \
+en_ID/UTF-8 \
 en_IE.UTF-8/UTF-8 \
 en_IE/ISO-8859-1 \
 en_IE@euro/ISO-8859-15 \
diff --git a/localedata/locales/en_ID b/localedata/locales/en_ID
new file mode 100644
index 0000000..1c199fd
--- /dev/null
+++ b/localedata/locales/en_ID
@@ -0,0 +1,138 @@
+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.
+
+LC_IDENTIFICATION
+title      "English language locale for Indonesia"
+source     "Yayasan Teknologi Terbuka Indonesia"
+address    "yatti.id"
+contact    "Gary Dean"
+email      "info@yatti.id"
+tel        ""
+fax        ""
+language   "English"
+territory  "Indonesia"
+revision   "1.3"
+date       "2015 July,29 (XML source:2015,July,29)"
+
+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 "en_GB"
+END LC_CTYPE
+
+LC_COLLATE
+% Copy the template from ISO/IEC 14651
+copy "iso14651_t1"
+END LC_COLLATE
+
+LC_MONETARY
+int_curr_symbol     "<U0049><U0044><U0052><U0020>"
+currency_symbol     "<U0052><U0070>"
+mon_decimal_point   "<U002E>"
+mon_thousands_sep   "<U002C>"
+mon_grouping        3
+positive_sign       ""
+negative_sign       "<U002D>"
+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         0
+END LC_MONETARY
+
+LC_NUMERIC
+decimal_point "<U002E>"
+thousands_sep "<U002C>"
+grouping      3
+END LC_NUMERIC
+
+LC_TIME
+abday   "<U0053><U0075><U006E>";"<U004D><U006F><U006E>";/
+        "<U0054><U0075><U0065>";"<U0057><U0065><U0064>";/
+        "<U0054><U0068><U0075>";"<U0046><U0072><U0069>";/
+        "<U0053><U0061><U0074>"
+day     "<U0053><U0075><U006E><U0064><U0061><U0079>";"<U004D><U006F><U006E><U0064><U0061><U0079>";/
+        "<U0054><U0075><U0065><U0073><U0064><U0061><U0079>";"<U0057><U0065><U0064><U006E><U0065><U0073><U0064><U0061><U0079>";/
+        "<U0054><U0068><U0075><U0072><U0073><U0064><U0061><U0079>";"<U0046><U0072><U0069><U0064><U0061><U0079>";/
+        "<U0053><U0061><U0074><U0075><U0072><U0064><U0061><U0079>"
+abmon   "<U004A><U0061><U006E>";"<U0046><U0065><U0062>";/
+        "<U004D><U0061><U0072>";"<U0041><U0070><U0072>";/
+        "<U004D><U0061><U0079>";"<U004A><U0075><U006E>";/
+        "<U004A><U0075><U006C>";"<U0041><U0075><U0067>";/
+        "<U0053><U0065><U0070>";"<U004F><U0063><U0074>";/
+        "<U004E><U006F><U0076>";"<U0044><U0065><U0063>"
+mon     "<U004A><U0061><U006E><U0075><U0061><U0072><U0079>";/
+        "<U0046><U0065><U0062><U0072><U0075><U0061><U0072><U0079>";/
+        "<U004D><U0061><U0072><U0063><U0068>";/
+        "<U0041><U0070><U0072><U0069><U006C>";/
+        "<U004D><U0061><U0079>";/
+        "<U004A><U0075><U006E><U0065>";/
+        "<U004A><U0075><U006C><U0079>";/
+        "<U0041><U0075><U0067><U0075><U0073><U0074>";/
+        "<U0053><U0065><U0070><U0074><U0065><U006D><U0062><U0065><U0072>";/
+        "<U004F><U0063><U0074><U006F><U0062><U0065><U0072>";/
+        "<U004E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";/
+        "<U0044><U0065><U0063><U0065><U006D><U0062><U0065><U0072>"
+am_pm       "";""
+t_fmt_ampm  ""
+d_t_fmt     "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0072>"
+d_fmt       "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"
+t_fmt       "<U0025><U0054>"
+week 7;19971130;1
+END LC_TIME
+
+LC_MESSAGES
+copy "en_US"
+END LC_MESSAGES
+
+LC_PAPER
+copy "id_ID"
+END LC_PAPER
+
+LC_NAME
+copy "en_US"
+END LC_NAME
+
+LC_ADDRESS
+postal_fmt   "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073><U0025>/
+<U0062><U0025><U0065><U0025><U0072>"
+country_name "<U0049><U006E><U0064><U006F><U006E><U0065><U0073><U0069><U0061>"
+country_ab2  "<U0049><U0044>"
+country_ab3  "<U0049><U0044><U004E>"
+country_num  360
+country_car  "<U0052><U0049>"
+lang_name    "<U0045><U006E><U0067><U006C><U0069><U0073><U0068>"
+lang_ab      "<U0065><U006E>"
+lang_term    "<U0065><U006E><U0067>"
+lang_lib     "<U0065><U006E><U0067>"
+END LC_ADDRESS
+
+LC_TELEPHONE
+copy "id_ID"
+END LC_TELEPHONE
+
+LC_MEASUREMENT
+copy "id_ID"
+END LC_MEASUREMENT
-- 
2.7.4

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

end of thread, other threads:[~2016-04-22  3:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-27 22:34 [PATCH] [Bug localedata/19010] en_ID: wew locale for Indonesian English Gunnar Hjalmarsson
2015-12-30 20:56 ` Mike Frysinger
2016-04-22  3:50 ` [PATCH] localedata: en_ID: new locale for Indonesian English [BZ #19010] Mike Frysinger

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