This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/13994] mjw_IN: new locale


https://sourceware.org/bugzilla/show_bug.cgi?id=13994

--- Comment #12 from Mike FABIAN <maiku.fabian at gmail dot com> ---
Created attachment 10540
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10540&action=edit
mjw_IN

I am working on including your new locale into glibc.

The attached file is what I currently have, starting from
your file and editing it a bit. The changes to your original are:

--- mjw_IN.orig 2017-10-18 18:48:18.440680567 +0200
+++ mjw_IN      2017-10-19 11:04:28.175829218 +0200
@@ -1,21 +1,22 @@
-comment_char   %
-escape_char    /
+comment_char %
+escape_char /

-% Karbi Language Locale for India
-% Language: mjw
-% Territory: IN
-% Revision: 1.1
-% Date: 2013-08-08
-% Application: general
-% Users: general
+% 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.

+% Karbi Language Locale for India.
+% Contributed  by Jor Teron <jor.teron@gmail.com>.

 LC_IDENTIFICATION
 title      "Karbi language locale for India"
 source     "Jor Teron"
 address    ""
 contact    ""
-email      ""
+email      "bug-glibc-locales@gnu.org"
 tel        ""
 fax        ""
 language   "Karbi"
@@ -23,20 +24,19 @@
 revision   "1.1"
 date       "2013-08-08"

-category  "mjw:2000";LC_IDENTIFICATION
-category  "mjw:2000";LC_CTYPE
-category  "mjw:2000";LC_COLLATE
-category  "mjw:2000";LC_TIME
-category  "mjw:2000";LC_NUMERIC
-category  "mjw:2000";LC_MONETARY
-category  "mjw:2000";LC_MESSAGES
-category  "mjw:2000";LC_PAPER
-category  "mjw:2000";LC_NAME
-category  "mjw:2000";LC_ADDRESS
-category  "mjw:2000";LC_TELEPHONE
+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
 END LC_IDENTIFICATION

-
 LC_COLLATE
 % Copy the template from ISO/IEC 14651
 copy "iso14651_t1"
@@ -51,94 +51,58 @@
 END LC_MONETARY

 LC_NUMERIC
-decimal_point           "<U002E>"
-thousands_sep           "<U002C>"
+decimal_point           "."
+thousands_sep           ","
 grouping                3;2
 END LC_NUMERIC

 LC_MESSAGES
-% ^[yY]
-yesexpr     "<U005E><U005B><U0079><U0059><U005D>"
-
-% ^[nN]
-noexpr      "<U005E><U005B><U006E><U004E><U005D>"
+yesexpr     "^[+1yY]"
+noexpr      "^[-0nN]"

 % There are no exact or fixed words for 'Yes' and 'No'.
-% The closest words are 'Chok', 'Chokche' and 'Kalang', 'Kali' respectively.
They both are also translate as 'True', 'False' respectively.
+% The closest words are 'Chok', 'Chokche' and 'Kalang', 'Kali' respectively.
+% They both are also translate as 'True', 'False' respectively.
 % 'Kali' is also interpreted as 'Not'.
 % 'Chok' is also interpreted as 'Correct' and 'Ok'.
 % 'Chokche' is interpreted as 'Incorrect' and 'Not Ok'.
-% While 'Ahok' is the word for 'True', there is no word for 'False' and is
compensated with 'Ahok Kali', which translate to 'Not True'. 
-% In these situation 'Yes' and 'No' will be the correct string.
-
-% Yes
-yesstr      "<U0059><U0065><U0073>"
+% While 'Ahok' is the word for 'True', there is no word for
+% 'False' and is compensated with 'Ahok Kali', which translate to 'Not True'.
+% In these situation 'yes' and 'no' will be the correct string.

-% No
-nostr       "<U004E><U006F>"
+yesstr      "yes"
+nostr       "no"
 END LC_MESSAGES

 LC_TIME
-% Bhom, Ur, Dur, Thel, Them, Bhta, Bhti
-abday       "<U0042><U0068><U006F><U006D>";"<U0055><U0072>";/
-            "<U0044><U0075><U0072>";"<U0054><U006B><U0065><U006C>";/
-            "<U0054><U006B><U0065><U006D>";"<U0042><U0068><U0074><U0061>";/
-            "<U0042><U0068><U0074><U0069>"
-
-% Bhomkuru, Urmi, Durmi, Thelang, Theman, Bhomta, Bhomti
-day       "<U0042><U0068><U006F><U006D><U006B><U0075><U0072><U0075>";/
-          "<U0055><U0072><U006D><U0069>";/
-          "<U0044><U0075><U0072><U006D><U0069>";/
-          "<U0054><U006B><U0065><U006C><U0061><U006E><U00>";/
-          "<U0054><U006B><U0065><U006D><U0061><U006E>";/
-          "<U0042><U0068><U006F><U006D><U0074><U0061>";/
-          "<U0042><U0068><U006F><U006D><U0074><U0069>"
-
-% Ark, Thang, The, Jang, Aru, Vos, Jak, Pai, Chi, Phe, Phai, Mati
-abmon       "<U0041><U0072><U006B";"<U0054><U0068><U0061><U006E><U0067>";/
-       "<U0054><U0068><U0065>";"<U004A><U0061><U006E><U0067>";/
-       "<U0041><U0072><U0075>";"<U0056><U006F><U0073>";/
-       "<U004A><U0061><U006B>";"<U0050><U0061><U0069>";/
-       "<U0043><U0068><U0069>";"<U0050><U0068><U0065>";/
-       "<U0050><U0068><U0061><U0069>";"<U004D><U0061><U0074><U0069>"
-
-% Arkoi, Thangthang, There, Jangmi, Aru, Vosik, Jakhong, Paipai, Chiti, Phere,
Phaikuni, Matijong
-mon       "<U0041><U0072><U006B><U006F><U0069>";/
-      
"<U0054><U0068><U0061><U006E><U0067><U0074><U0068><U0061><U006E><U0067>";/
-       "<U0054><U0068><U0065><U0072><U0065>";/
-       "<U004A><U0061><U006E><U0067><U006D><U0069>";/
-       "<U0041><U0072><U0075>";/
-       "<U0056><U006F><U0073><U0069><U006B>";/
-       "<U004A><U0061><U006B><U0068><U006F><U006E><U0067>";/
-       "<U0050><U0061><U0069><U0070><U0061><U0069>";/
-       "<U0043><U0068><U0069><U0074><U0069>";/
-       "<U0050><U0068><U0065><U0072><U0065>";/
-       "<U0050><U0068><U0061><U0069><U006B><U0075><U006E><U0069";/
-       "<U004D><U0061><U0074><U0069><U006A><U006F><U006E><U0067>"
+abday "Bhom";"Ur";"Dur";"Tkel";"Tkem";"Bhta";"Bhti"
+day   "Bhomkuru";"Urmi";"Durmi";"Thelang";"Theman";"Bhomta";"Bhomti"
+abmon "Ark";"Thang";"The";"Jang";"Aru";"Vos";/
+      "Jak";"Pai";"Chi";"Phe";"Phai";"Mati"
+mon   "Arkoi";"Thangthang";"There";"Jangmi";"Aru";"Vosik";/
+      "Jakhong";"Paipai";"Chiti";"Phere";"Phaikuni";"Matijong"

 % Equivalent of AM PM
-am_pm       "<U0041><U004D>";"<U0050><U004D>"
+am_pm       "AM";"PM"

 % Appropriate date and time representation
-% %A %d %B %Y %I:%M:%S  %Z
-d_t_fmt    
"<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0042><U0020><U0025><U0059><U0020><U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070><U0020><U0025><U005A>"
+d_t_fmt     "%A %d %B %Y %I:%M:%S %p %Z"

 % Appropriate date representation
-% %A %d %B %Y
-d_fmt      
"<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0042><U0020><U0025><U0059>"
+d_fmt        "%A %d %B %Y"

 % Appropriate time representation
-% %I:%M:%S  %Z
-t_fmt      
"<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0020><U0025><U005A>"
+t_fmt       "%I:%M:%S  %Z"

 % Appropriate 12 h time representation (%r)
-t_fmt_ampm 
"<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070><U0020><U0025><U005A>"
+t_fmt_ampm  "%I:%M:%S %p %Z"

+week 7;19971130;1
 first_weekday 1
 END LC_TIME

 LC_PAPER
-copy "hi_IN"
+copy "i18n"
 END LC_PAPER

 LC_TELEPHONE
@@ -146,14 +110,11 @@
 END LC_TELEPHONE

 LC_MEASUREMENT
-copy "hi_IN"
+copy "i18n"
 END LC_MEASUREMENT

 LC_NAME
 % Format for addressing a person.
-name_fmt    "<U0025><U0064><U0025><U0074><U0025><U0067><U0025><U0074>/
-<U0025><U006D><U0025><U0074><U0025><U0066>"
-% "%d%t%g%t%m%t%f"
 % "Salutation",
 % "Empty string, or <Space>",
 % "First given name",
@@ -161,26 +122,35 @@
 % "Middle names",
 % "Empty string, or <Space>",
 % "Clan names"
+name_fmt    "%d%t%g%t%m%t%f"

 % General salutation for any sex - ""
 name_gen    ""

 % Salutation for unmarried females - "Sami"
-name_miss   "<U0053><U0061><U006D><U0069>"
+name_miss   "Sami"

 % FIXME: Salutation for unmarried males - "Thare"
-% name_mr     "<U0054><U0068><U0061><U0072><U0065>"
+% name_mr   "Thare"

 % FIXME: Salutation for married males - "Sangho"
-% name_mr     "<U0053><U0061><U006E><U0067><U0068><U006F>"
+% name_mr    "Sangho"

 % Salutation for married females - "Sangpi"
-name_mrs    "<U0053><U0061><U006E><U0067><U0070><U0069>"
+name_mrs    "Sangpi"

 % Salutation valid for all females - "" (no term)
 name_ms     ""
 END LC_NAME

 LC_ADDRESS
-copy "en_IN"
+postal_fmt  "%z%c%T%s%b%e%r"
+country_name "India"
+country_ab2  "IN"
+country_ab3  "IND"
+country_num  356
+country_car  "IND"
+lang_name    "Karbi"
+lang_term    "mjw"
+lang_lib     "mjw"
 END LC_ADDRESS

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]