This is the mail archive of the libc-alpha@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]

Re: [BZ 14828, 14501] Two more new locales


On Thu, Nov 15, 2012 at 2:15 PM, Andreas Jaeger <aj@suse.com> wrote:
>
> Here're two more new locales. Ok to commit?

One problem. See below.

> Andreas
>
> 2012-11-15  Andreas Jaeger  <aj@suse.de>
>
>         [BZ # 14828]
>         * locales/ayc_PE: Add Aymara locale for Peru
>         contributed by Chris Leonard <cjl@sugarlabs.org> and
>         Amos Batto <amosbatto@yahoo.com>.
>         * SUPPORTED (SUPPORTED-LOCALES): Add ayc_PE.
>
> 2012-11-15  Andreas Jaeger  <aj@suse.de>
>
>         [BZ # 14501]
>         * locales/nhn_MX: Add Central Nahuatl locale for Mexico,
>         contributed by Jorge Becerril <jrbecster@gmail.com>.
>         * SUPPORTED (SUPPORTED-LOCALES): Add nhn_MX.
>
> diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
> index e642505..ff5f39a 100644
> --- a/localedata/SUPPORTED
> +++ b/localedata/SUPPORTED
> @@ -50,6 +50,7 @@ az_AZ/UTF-8 \
>  as_IN/UTF-8 \
>  ast_ES.UTF-8/UTF-8 \
>  ast_ES/ISO-8859-15 \
> +ayc_PE/UFT-8 \
>  be_BY.UTF-8/UTF-8 \
>  be_BY/CP1251 \
>  be_BY@latin/UTF-8 \
> diff --git a/localedata/locales/ayc_PE b/localedata/locales/ayc_PE
> new file mode 100644
> index 0000000..4db564c
> --- /dev/null
> +++ b/localedata/locales/ayc_PE
> @@ -0,0 +1,196 @@
> +comment_char %
> +escape_char /
> +% Charset: UTF-8
> +% WARNING: This file has been autogenerated by the Locale Helper
> application
> +%          Check it carefully before using it in production.
> +LC_IDENTIFICATION
> +title      "Aymara (ayc) locale for Peru"
> +source       "runasimipi.org"
> +address      ""
> +contact      ""
> +email        "libc-alpha@sourceware.org"
> +tel          ""
> +fax          ""
> +language  "Aymara"
> +territory "Peru"
> +revision  "1.0"
> +date      "2011-11-13"
> +%
> +%
> +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> +%
> +% Aymara, Southern (ayc) language locale for Peru
> +%
> +% Charset: ISO-8859-1
> +%
> +% Aymara terms provided by Edgar Quispe Chambi <equispe7@gmail.com> and
> +% Amos Batto <amosbatto@yahoo.com>
> +%
> +% Prepared and contributed to glibc by Chris Leonard <cjl@sugarlabs.org>
> and
> +% Amos Batto <amosbatto@yahoo.com>
> +%
> +% This locale data has been developed in collaboration between:
> +% Sugar Labs,  http://www.sugarlabs.org/
> +% One Laptop Per Child, http://one.laptop.org/
> +% Runasimipi Quespiqa Software, http://runasimipi.org/
> +% Somos Azúcar. http://somosazucar.org/
> +%
> +% Los autores desean agradecer a los desafíos de la clasificación de las
> lenguas andinas
> +% con los códigos ISO-639 disponibles en la actualidad y su disposición a
> trabajar con
> +% todos los interesados en mejorar la representación de todas las lenguas
> andinas.
> +%
> +%
> +% build with: localedef -f ISO-8859-1 -i ayc_PE ayc_PE
> +%
> +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> +%
> +%
> +category  "ayc_PE:2011";LC_IDENTIFICATION
> +category  "ayc_PE:2011";LC_CTYPE
> +category  "ayc_PE:2011";LC_COLLATE
> +category  "ayc_PE:2011";LC_TIME
> +category  "ayc_PE:2011";LC_NUMERIC
> +category  "ayc_PE:2011";LC_MONETARY
> +category  "ayc_PE:2011";LC_PAPER
> +category  "ayc_PE:2011";LC_MEASUREMENT
> +category  "ayc_PE:2011";LC_MESSAGES
> +category  "ayc_PE:2011";LC_NAME
> +category  "ayc_PE:2011";LC_ADDRESS
> +category  "ayc_PE:2011";LC_TELEPHONE
> +END LC_IDENTIFICATION
> +
> +LC_CTYPE
> +copy "es_ES"
> +END LC_CTYPE
> +
> +LC_COLLATE
> +copy "iso14651_t1"
> +END LC_COLLATE
> +
> +% LC_TIME: Use Aymara transliteration of Spanish day and month names
> +
> +LC_TIME
> +% inïru, phiwriru, marsu, awrila, mayu, junyu, julyu, awustu, sitimri,
> uktuwri, nuwimri, risimri
> +mon           "<U0069><U006E><U00EF><U0072><U0075>";/
> +     "<U0070><U0068><U0069><U0077><U0072><U0069><U0072><U0075>";/
> +     "<U006D><U0061><U0072><U0073><U0075>";/
> +     "<U0061><U0077><U0072><U0069><U006C><U0061>";/
> +     "<U006D><U0061><U0079><U0075>";/
> +     "<U006A><U0075><U006E><U0079><U0075>";/
> +     "<U006A><U0075><U006C><U0079><U0075>";/
> +     "<U0061><U0077><U0075><U0073><U0074><U0075>";/
> +     "<U0073><U0069><U0074><U0069><U006D><U0072><U0069>";/
> +     "<U0075><U006B><U0074><U0075><U0077><U0072><U0069>";/
> +     "<U006E><U0075><U0077><U0069><U006D><U0072><U0069>";/
> +     "<U0072><U0069><U0073><U0069><U006D><U0072><U0069>"
> +% ini, phi, mar, awr ,may, jun, jul, awu, sit, ukt, nuw, ris
> +abmon         "<U0069><U006E><U0069>";/
> +       "<U0070><U0068><U0069>";/
> +       "<U006D><U0061><U0072>";/
> +       "<U0061><U0077><U0072>";/
> +       "<U006D><U0061><U0079>";/
> +       "<U006A><U0075><U006E>";/
> +       "<U006A><U0075><U006C>";/
> +       "<U0061><U0077><U0075>";/
> +       "<U0073><U0069><U0074>";/
> +       "<U0075><U006B><U0074>";/
> +       "<U006E><U0075><U0077>";/
> +       "<U0072><U0069><U0073>"
> +% tuminku, lunisa, martisa, mirkulisa, juywisa, wirnisa, sawäru
> +day           "<U0074><U0075><U006D><U0069><U006E><U006B><U0075>";/
> +       "<U006C><U0075><U006E><U0069><U0073><U0061>";/
> +       "<U006D><U0061><U0072><U0074><U0069><U0073><U0061>";/
> +       "<U006D><U0069><U0072><U006B><U0075><U006C><U0069><U0073><U0061>";/
> +       "<U006A><U0075><U0079><U0077><U0069><U0073><U0061>";/
> +       "<U0077><U0069><U0072><U006E><U0069><U0073><U0061>";/
> +       "<U0073><U0061><U0077><U00E4><U0072><U0075>"
> +% tum, lun, mar, mir, juy, wir, saw
> +abday         "<U0074><U0075><U006D>";/
> +       "<U006C><U0075><U006E>";/
> +       "<U006D><U0061><U0072>";/
> +       "<U006D><U0069><U0072>";/
> +       "<U006A><U0075><U0079>";/
> +       "<U0077><U0069><U0072>";/
> +       "<U0073><U0061><U0077>"
> +% Abbreviated date and time representation to be referenced by the "%c"
> field descriptor -
> +%
> +% "%a" (short weekday name),
> +% "%d" (day of month as a decimal number),
> +% "%b" (short month name),
> +% "%Y" (year with century as a decimal number),
> +% "%T" (24-hour clock time in format HH:MM:SS),
> +% "%Z" (Time zone name)
> +% %a %d %b %Y %T %Z
> +d_t_fmt
> "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
> +
> +% Date representation to be referenced by the "%x" field descriptor -
> +% "%d/%m/%Y", day/month/year as decimal numbers (01/01/2000).
> +d_fmt         "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
> +
> +% Time representation to be referenced by the "%X" field descriptor -
> +% "%T" (24-hour clock time in format HH:MM:SS)
> +t_fmt       "<U0025><U0054>"
> +
> +% Define representation of ante meridian and post maritime strings -
> +% The "" mean 'default to "AM" and "PM".
> +am_pm       "<U0056><U004D>";"<U004E><U004D>"
> +
> +% %I:%M:%S %p
> +t_fmt_ampm
> "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070>"
> +
> +% Date representation not described in ISO/IEC 14652. Comes out as -
> +% "%a %b %e %H:%M:%S %Z %Y" which is default "date" command output
> +%
> +% %a - abbreviated weekday name,
> +% %b - abbreviated month name,
> +% %e - day of month as a decimal number with leading space (1 to 31),
> +% %H - hour (24-hour clock) as a decimal number (00 to 23),
> +% %M - minute as a decimal number (00 to 59),
> +% %S - seconds as a decimal number (00 to 59),
> +% %Z - time-zone name,
> +% %Y - year with century as a decimal number,e.g. 2001.
> +date_fmt       "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
> +<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
> +<U0025><U005A><U0020><U0025><U0059>"
> +END LC_TIME
> +
> +LC_NUMERIC
> +copy "es_PE"
> +END LC_NUMERIC
> +
> +LC_MONETARY
> +copy "es_PE"
> +END LC_MONETARY
> +
> +LC_PAPER
> +copy "es_PE"
> +END LC_PAPER
> +
> +LC_MEASUREMENT
> +measurement 1
> +END LC_MEASUREMENT
> +
> +LC_MESSAGES
> +% ^[uUsSyY].*
> +yesexpr
> "<U005E><U005B><U0075><U0055><U0073><U0053><U0079><U0059><U005D><U002E><U002A>"
> +% ^[jJnN].*
> +noexpr  "<U005E><U005B><U006A><U004A><U006E><U004E><U005D><U002E><U002A>"
> +% Ukhamawa
> +yesstr  "<U0055><U006B><U0068><U0061><U006D><U0061><U0077><U0061>"
> +% Janiwa
> +nostr   "<U004A><U0061><U006E><U0069><U0077><U0061>"
> +END LC_MESSAGES
> +
> +LC_NAME
> +copy "es_PE"
> +END LC_NAME
> +
> +LC_ADDRESS
> +copy "es_PE"
> +END LC_ADDRESS
> +
> +LC_TELEPHONE
> +copy "es_PE"
> +END LC_TELEPHONE
> +
> +
> diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
> index e642505..3a679d6 100644
> --- a/localedata/SUPPORTED
> +++ b/localedata/SUPPORTED
> @@ -310,6 +310,7 @@ nb_NO/ISO-8859-1 \
>  nds_DE/UTF-8 \
>  nds_NL/UTF-8 \
>  ne_NP/UTF-8 \
> +nhn_MX/UTF-8 \
>  nl_AW/UTF-8 \
>  nl_BE.UTF-8/UTF-8 \
>  nl_BE/ISO-8859-1 \
> diff --git a/localedata/locales/nhn_MX b/localedata/locales/nhn_MX
> new file mode 100644
> index 0000000..50de9d4
> --- /dev/null
> +++ b/localedata/locales/nhn_MX
> @@ -0,0 +1,143 @@
> +comment_char %
> +escape_char  /
> +%
> +% Central Nahuatl locale for Mexico
> +% Source: RAP
> +% Address: Texcoco/Estado de Mexico, Mexico
> +% Contact: Jorge Becerril
> +% Email: jrbecster@gmail.com
> +% Tel:
> +% Language: nhn
> +% Territory: MX
> +% Revision: 1.0
> +% Date: 2012-08-19
> +% Application: general
> +% Users: general
> +% Reportoiremap: mnemonics.ds
> +% Charset: UTF-8
> +% This file is distributed under the same license as the glibc package.
> +
> +LC_IDENTIFICATION
> +title      "Central Nahuatl for Mexico"
> +source     "RAP"
> +address    ""
> +contact    ""
> +email      "libc-alpha@sourceware.org"
> +tel        ""
> +fax        ""
> +language   "Central Nahuatl"
> +territory  "Mexico"
> +revision   "1.0"
> +date       "2012-08-19"
> +%
> +category   "nhn_MX:2012";LC_IDENTIFICATION
> +category   "nhn_MX:2012";LC_CTYPE
> +category   "nhn_MX:2012";LC_COLLATE
> +category   "nhn_MX:2012";LC_TIME
> +category   "nhn_MX:2012";LC_NUMERIC
> +category   "nhn_MX:2012";LC_MONETARY

No LC_MEASUREMENT...

> +category   "nhn_MX:2012";LC_MESSAGES
> +category   "nhn_MX:2012";LC_PAPER
> +category   "nhn_MX:2012";LC_NAME
> +category   "nhn_MX:2012";LC_ADDRESS
> +category   "nhn_MX:2012";LC_TELEPHONE
> +
> +END LC_IDENTIFICATION
> +
> +LC_COLLATE
> +% Copy the template from ISO/IEC 14651
> +copy "iso14651_t1"
> +END LC_COLLATE
> +
> +LC_CTYPE
> +copy "i18n"
> +
> +translit_start
> +include "translit_combining";""
> +translit_end
> +END LC_CTYPE
> +
> +LC_MESSAGES
> +% ^[sSqQyY].*
> +yesexpr
> "<U005E><U005B><U0073><U0053><U0071><U0051><U0079><U0059><U005D><U002E><U002A>"
> +% ^[nNaA].*
> +noexpr  "<U005E><U005B><U006E><U004E><U0061><U0041><U005D><U002E><U002A>"
> +
> +% quema
> +yesstr  "<U0071><U0075><U0065><U006D><U0061>"
> +% ahmo
> +nostr   "<U0061><U0068><U006D><U006F>"
> +END LC_MESSAGES
> +
> +LC_MONETARY
> +copy "es_MX"
> +END LC_MONETARY
> +
> +LC_NUMERIC
> +copy "es_MX"
> +END LC_NUMERIC
> +
> +LC_TIME
> +% teo; cei; ome; yei; nau; mac; chi
> +abday   "<U0074><U0065><U006F>";"<U0063><U0065><U0069>";/
> +        "<U006F><U006D><U0065>";"<U0079><U0065><U0069>";/
> +        "<U006E><U0061><U0075>";"<U006D><U0061><U0063>";/
> +        "<U0063><U0068><U0069>"
> +% teoilhuitl; ceilhuitl; omeilhuitl; yeilhuitl; nahuilhuitl; macuililhuitl;
> chicuaceilhuitl
> +day
> "<U0074><U0065><U006F><U0069><U006C><U0068><U0075><U0069><U0074><U006C>";/
> +        "<U0063><U0065><U0069><U006C><U0068><U0075><U0069><U0074><U006C>";/
> + "<U006F><U006D><U0065><U0069><U006C><U0068><U0075><U0069><U0074><U006C>";/
> +        "<U0079><U0065><U0069><U006C><U0068><U0075><U0069><U0074><U006C>";/
> +
> "<U006E><U0061><U0068><U0075><U0069><U006C><U0068><U0075><U0069><U0074><U006C>";/
> +
> "<U006D><U0061><U0063><U0075><U0069><U006C><U0069><U006C><U0068><U0075><U0069><U0074><U006C>";/
> +
> "<U0063><U0068><U0069><U0063><U0075><U0061><U0063><U0065><U0069><U006C><U0068><U0075><U0069><U0074><U006C>"
> +% ene; feb; mar; abr; may; jun; jul; ago; sep; oct; nov; dic
> +abmon   "<U0065><U006E><U0065>";"<U0066><U0065><U0062>";/
> +        "<U006D><U0061><U0072>";"<U0061><U0062><U0072>";/
> +        "<U006D><U0061><U0079>";"<U006A><U0075><U006E>";/
> +        "<U006A><U0075><U006C>";"<U0061><U0067><U006F>";/
> +        "<U0073><U0065><U0070>";"<U006F><U0063><U0074>";/
> +        "<U006E><U006F><U0076>";"<U0064><U0069><U0063>"
> +% enero; febrero; marzo; abril; mayo; junio; julio; agosto; septiembre;
> octubre; noviembre; diciembre
> +mon     "<U0065><U006E><U0065><U0072><U006F>";/
> +        "<U0066><U0065><U0062><U0072><U0065><U0072><U006F>";/
> +        "<U006D><U0061><U0072><U007A><U006F>";/
> +        "<U0061><U0062><U0072><U0069><U006C>";/
> +        "<U006D><U0061><U0079><U006F>";/
> +        "<U006A><U0075><U006E><U0069><U006F>";/
> +        "<U006A><U0075><U006C><U0069><U006F>";/
> +        "<U0061><U0067><U006F><U0073><U0074><U006F>";/
> + "<U0073><U0065><U0070><U0074><U0069><U0065><U006D><U0062><U0072><U0065>";/
> +        "<U006F><U0063><U0074><U0075><U0062><U0072><U0065>";/
> +        "<U006E><U006F><U0076><U0069><U0065><U006D><U0062><U0072><U0065>";/
> +        "<U0064><U0069><U0063><U0069><U0065><U006D><U0062><U0072><U0065>"
> +d_t_fmt
> "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
> +d_fmt   "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
> +t_fmt   "<U0025><U0054>"
> +am_pm   "";""
> +t_fmt_ampm ""
> +date_fmt        "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
> +<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
> +<U0025><U005A><U0020><U0025><U0059>"
> +END LC_TIME
> +
> +LC_PAPER
> +height   279
> +width    216
> +END LC_PAPER
> +
> +LC_TELEPHONE
> +copy "es_MX"
> +END LC_TELEPHONE
> +
> +LC_MEASUREMENT
> +measurement    1
> +END LC_MEASUREMENT

... but you have one?

> +
> +LC_NAME
> +copy "es_MX"
> +END LC_NAME
> +
> +LC_ADDRESS
> +copy "es_MX"
> +END LC_ADDRESS

OK with this fix.

Cheers,
Carlos.


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