Bug 9809 - ckb_IQ: new Kurdish Sorani locale
Summary: ckb_IQ: new Kurdish Sorani locale
Status: WAITING
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: GNU C Library Locale Maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-02 19:26 UTC by Aras Noori
Modified: 2017-10-21 08:12 UTC (History)
7 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
localedata for Kurdish Sorani (CKB) (1.74 KB, patch)
2009-02-02 19:29 UTC, Aras Noori
Details | Diff
new Locale info for CKB (2.44 KB, patch)
2009-06-22 20:35 UTC, Aras Noori
Details | Diff
new fixed Locale info for CKB (2.49 KB, patch)
2009-09-03 10:23 UTC, Aras Noori
Details | Diff
Locale info for CKB (2.49 KB, patch)
2009-09-24 22:41 UTC, Aras Noori
Details | Diff
CKB locale - updated (4.25 KB, patch)
2009-11-04 10:29 UTC, Aras Noori
Details | Diff
CKB-IQ locale info (Kurdish Sorani) (3.45 KB, patch)
2011-05-16 08:24 UTC, Aras Noori
Details | Diff
CKB-IQ locale info (Kurdish Sorani) (3.41 KB, text/plain)
2014-11-03 23:21 UTC, Aras Noori
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aras Noori 2009-02-02 19:26:40 UTC
Kurdish (Iraq) needs an own locale definition, since Kurdish is an official
language in Iraq since 200x

duo to:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/266975

the locale are defined: http://www.zkurd.org/aras/ckb_IQ.txt
Comment 1 Aras Noori 2009-02-02 19:29:03 UTC
Created attachment 3704 [details]
localedata for Kurdish Sorani (CKB)

the localedata for Kurdish Sorani (CKB)
Comment 2 Erdal Ronahi 2009-02-02 19:35:40 UTC
Comment on attachment 3704 [details]
localedata for Kurdish Sorani (CKB)

comment_char	%
escape_char	/
% Kurdish (Sorani) language locale for Iraq and Iran.
% Contributed by Aras Noori <aras.noori@gmal.com> and
% Erdal Ronahi<erdal.ronahi@gmail.com>.
% Contact: Aras
% Language: ku
% Date: 2009-01-29
% Distribution and use is free, also
% for commercial purposes.
% History:
%

LC_IDENTIFICATION
title	   "Kurdish language locale for Sorani dialects"
source	   ""
address    ""
contact    "Aras"
email	   "aras.noori@gmail.com, Diyako@zkurd.org"
tel	   ""
fax	   ""
language   "Kurdish"
territory  "Iraq"
revision   "1.0"
date	   "2009-01-29"
%
category  "ckb_IQ:2000";LC_IDENTIFICATION
category  "ckb_IQ:2000";LC_CTYPE
category  "ckb_IQ:2000";LC_COLLATE
category  "ckb_IQ:2000";LC_TIME
category  "ckb_IQ:2000";LC_NUMERIC
category  "ckb_IQ:2000";LC_MONETARY
category  "ckb_IQ:2000";LC_MESSAGES
category  "ckb_IQ:2000";LC_PAPER
category  "ckb_IQ:2000";LC_NAME
category  "ckb_IQ:2000";LC_ADDRESS
category  "ckb_IQ:2000";LC_TELEPHONE
category  "ku_IQ:2000";LC_MEASUREMENT

END LC_IDENTIFICATION

LC_CTYPE
copy "i18n"
END LC_CTYPE

LC_COLLATE

% Copy the template from ISO/IEC 14651
copy "iso14651_t1"

END LC_COLLATE

LC_MONETARY
% This is the POSIX Locale definition the LC_MONETARY category.
% These are generated based on XML base Locale difintion file
% for IBM Class for Unicode/Java
%
int_curr_symbol       "<U0049><U0051><U0044><U0020>"
currency_symbol       "<U062F><U002E><U0639><U002E>"
mon_decimal_point     "<U002E>"
mon_thousands_sep     "<U002C>"
mon_grouping	      3
positive_sign	      ""
negative_sign	      "<U002D>"
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_NUMERIC
% This is the POSIX Locale definition for the LC_NUMERIC  category.
%
decimal_point	       "<U002E>"
thousands_sep	       "<U002C>"
grouping	       3
%
END LC_NUMERIC


LC_TIME
% This is the POSIX Locale definition for the LC_TIME category.
% These are generated based on XML base Locale difintion file
% for IBM Class for Unicode/Java
%
% Abbreviated weekday names (%a)
abday	    "<U062D>";"<U0646>";/
	    "<U062B>";"<U0631>";/
	    "<U062E>";"<U062C>";/
	    "<U0633>"
%
% Full weekday names (%A)
day	    "<U06CC><U06D5><U0643><U0634><U06D5><U0645><U0645><U06D5>";/
	    "<U062F><U0648><U0648><U0634><U06D5><U0645><U0645><U06D5>";/
	    "<U0633><U06CE><U0634><U06D5><U0645><U0645><U06D5>";/
	    "<U0686><U0648><U0624><U0631><U0634><U06D5><U0645><U0645><U06D5>";/
	    "<U067E><U06CE><U0646><U062C><U0634><U06D5><U0645><U0645><U06D5>";/
	    "<U0647><U06D5><U06CC><U0646><U06CC>";/
	    "<U0634><U06D5><U0645><U0645><U06D5>";/
%
% Abbreviated month names (%b)
abmon	    "<U064A><U0646><U0627>";"<U0641><U0628><U0631>";/
	    "<U0645><U0627><U0631>";"<U0623><U0628><U0631>";/
	    "<U0645><U0627><U064A>";"<U064A><U0648><U0646>";/
	    "<U064A><U0648><U0644>";"<U0623><U063A><U0633>";/
	    "<U0633><U0628><U062A>";"<U0623><U0643><U062A>";/
	    "<U0646><U0648><U0641>";"<U062F><U064A><U0633>"
%
% Full month names (%B)
mon	    "<U064A><U0646><U0627><U064A><U0631>";/
	    "<U0641><U0628><U0631><U0627><U064A><U0631>";/
	    "<U0645><U0627><U0631><U0633>";/
	    "<U0623><U0628><U0631><U064A><U0644>";/
	    "<U0645><U0627><U064A><U0648>";/
	    "<U064A><U0648><U0646><U064A><U0648>";/
	    "<U064A><U0648><U0644><U064A><U0648>";/
	    "<U0623><U063A><U0633><U0637><U0633>";/
	    "<U0633><U0628><U062A><U0645><U0628><U0631>";/
	    "<U0623><U0643><U062A><U0648><U0628><U0631>";/
	    "<U0646><U0648><U0641><U0645><U0628><U0631>";/
	    "<U062F><U064A><U0633><U0645><U0628><U0631>"
%
% Equivalent of AM PM
am_pm	    "<U0635>";"<U0645>"
%
% Appropriate date and time representation
% %d %b, %Y%Z %I:%M:%S
d_t_fmt     "<U0025><U0064><U0020><U0025><U0062><U002C><U0020><U0025>/
<U0059><U0020><U0025><U005A><U0020><U0025><U0049><U003A><U0025><U004D>/
<U003A><U0025><U0053><U0020><U0025><U0070>"
%
% Appropriate date representation
% %d %b, %Y
d_fmt	    "<U0025><U0064><U0020><U0025><U0062><U002C><U0020><U0025><U0059>"
%
% Appropriate time representation
% %Z %I:%M:%S
t_fmt	    "<U0025><U005A><U0020><U0025><U0049><U003A><U0025><U004D>/
<U003A><U0025><U0053><U0020>"
%
% Appropriate 12 h time representation (%r)
t_fmt_ampm  "<U0025><U005A><U0020><U0025><U0049><U003A><U0025><U004D>/
<U003A><U0025><U0053><U0020><U0025><U0070>"
%
% Appropriate date representation (date(1))   "%a %b %e %H:%M:%S %Z %Y"
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>"
%  FIXME: found in CLDR
first_weekday 7
END LC_TIME


LC_MESSAGES
copy "ckb_IQ"
END LC_MESSAGES


LC_PAPER
% This is the ISO_IEC TR14652 Locale definition for the
copy "ckb_IQ"
height	    297
width	    210

END LC_PAPER


LC_NAME
% This is the ISO_IEC TR14652 Locale definition for the
% LC_NAME category.
%
name_fmt    "<U0025><U0070><U0025><U0074><U0025><U0066><U0025><U0074>/
<U0025><U0067>"
name_gen    "<U002D><U0073><U0061><U006E>"
name_mr     "<U004D><U0072><U002E>"
name_mrs    "<U004D><U0072><U0073><U002E>"
name_miss   "<U004D><U0069><U0073><U0073><U002E>"
name_ms     "<U004D><U0073><U002E>"

END LC_NAME


LC_ADDRESS
% This is the ISO_IEC TR14652 Locale definition for the
% LC_ADDRESS
postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0054><U0025><U0073>/
<U0025><U0062><U0025><U0065><U0025><U0072>"
country_ab2 "<U0049><U0051>"
country_ab3 "<U0049><U0052><U0051>"
country_post "<U0054><U0052>"
country_num 368
country_car "<U0054><U0052>"
% "kurd<U00EE>"
lang_name   "<U006B><U0075><U0072><U0064><U00EE>"
lang_ab     "<U006B><U0075>"
lang_term   "<U006B><U0075><U0072>"
lang_lib    "<U006B><U0075><U0072>"

END LC_ADDRESS


LC_TELEPHONE
% This is the ISO_IEC TR14652 Locale definition for the
%
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
<U003B><U0025><U006C>"
int_prefix  "<U0039><U0036><U0034>"

END LC_TELEPHONE


LC_MEASUREMENT
% This is the ISO_IEC TR14652 Locale definition for the
%
measurement 1

END LC_MEASUREMENT
Comment 3 Erdal Ronahi 2009-02-02 19:55:28 UTC
The correspondig bug in the Launchpad bug tracker for Ubuntu is 
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/266975
Comment 4 Erdal Ronahi 2009-02-02 19:59:45 UTC
Aras is the reporter, not the assignee.
Comment 5 Ulrich Drepper 2009-02-07 03:53:52 UTC
The file is ill-formed.  The file is named ckb_IQ and you use it in "copy" in
various categories?  You also have copy and definitions in categories like
LC_PAPER.  You have to fix it up.
Comment 6 Aras Noori 2009-04-16 20:18:49 UTC
Comment on attachment 3704 [details]
localedata for Kurdish Sorani (CKB)

escape_char  /
comment_char  %
% Kurdish (Sorani) language locale for Iraq and Iran.
% Contributed by Aras Noori <aras.noori@gmal.com> and
% Erdal Ronahi<erdal.ronahi@gmail.com>.
% Contact: Aras Noori
% Language: ku
% Date: 2009-04-14
% Distribution and use is free, also
% for commercial purposes.
% History:
% January 2009: Defining CKB locale
% March 2009: Adding rule for CKB
%

LC_IDENTIFICATION
title	   "Kurdish language locale for Sorani dialects - Central Kurdish"
source	   ""
address    ""
contact    "Aras"
email	   "aras.noori@gmail.com"
tel	   ""
fax	   ""
language   "Kurdish"
territory  "Iraq"
revision   "1.1"
date	   "2009-04-15"
%

category  "ckb_IQ:2000";LC_IDENTIFICATION
category  "ckb_IQ:2000";LC_CTYPE
category  "ckb_IQ:2000";LC_COLLATE
category  "ckb_IQ:2000";LC_TIME
category  "ckb_IQ:2000";LC_NUMERIC
category  "ckb_IQ:2000";LC_MONETARY
category  "ckb_IQ:2000";LC_MESSAGES
category  "ckb_IQ:2000";LC_PAPER
category  "ckb_IQ:2000";LC_NAME
category  "ckb_IQ:2000";LC_ADDRESS
category  "ckb_IQ:2000";LC_TELEPHONE
category  "ckb_IQ:2000";LC_MEASUREMENT

END LC_IDENTIFICATION

LC_CTYPE
copy "i18n"
END LC_CTYPE

LC_COLLATE
% The Sorani Kurdish dialect is mainly written using a modified Arabic-based
alphabet with 33 letters. 
% Unlike the regular Arabic alphabet, which is an abjad, Sorani is an alphabet
in which vowels are mandatory, making the script easy to read.
%
% The CKB (Sorani) alphabet order is: 
% in Latin: a, b, c, ç, d, e, ê, f, g, h, i, î, j, k, l, ll, m, n, o, p, q,
r, rr, s, sh, t, u, uu, v, w, x, y, z
% ئ، ب، پ، ت، ج، چ، ح، خ، د، ر، ڕ، ز، ژ، س، ش،
ف، ڤ، ق، ع، غ، ك، گ، ل، ڵ، م، ن، و، وو، ۆ، هـ،
ی، ێ
% vowels: A, E, I, O, U, UU
% پیتەبزوێنەكان ئەمانەن: ئ، ا، ە، و، وو، ۆ،
ی، ێ،
%
% Copy the template from ISO/IEC 14651
copy "iso14651_t1"

collating-element <ئا> from <U0626><U0627>
collating-element <وو> from <U0648><U0648>
collating-element <لا> from <U0644><U0627>

collating-symbol <U0628>
collating-symbol <U062C>
collating-symbol <U0631>
collating-symbol <U0632>
collating-symbol <U0641>
collating-symbol <U0643>
collating-symbol <U0644>
collating-symbol <U0648>
collating-symbol <U06CC>

reorder-after <U0628> <U067E>
reorder-after <U062C><U0686>
reorder-after <U0631><U0695>
reorder-after <U0632><U0698>
reorder-after <U0641><U06A4>
reorder-after <U0643><U06AF>
reorder-after <U0644><U06B5>
reorder-after <U0648><U06C6>
reorder-after <U06CC><U06CE>

% Kurdish digits same as Arabic ones: they are the basic forms.
reorder-after <U0660>
<U0660> <0>;<PCL>;<MIN>;IGNORE
<U0661> <1>;<PCL>;<MIN>;IGNORE
<U0662> <2>;<PCL>;<MIN>;IGNORE
<U0663> <3>;<PCL>;<MIN>;IGNORE
<U0664> <4>;<PCL>;<MIN>;IGNORE
<U0665> <5>;<PCL>;<MIN>;IGNORE
<U0666> <6>;<PCL>;<MIN>;IGNORE
<U0667> <7>;<PCL>;<MIN>;IGNORE
<U0668> <8>;<PCL>;<MIN>;IGNORE
<U0669> <9>;<PCL>;<MIN>;IGNORE

reorder-end

END LC_COLLATE

LC_MONETARY
% This is the POSIX Locale definition the LC_MONETARY category.
% These are generated based on XML base Locale difintion file
% for IBM Class for Unicode/Java
%
int_curr_symbol       "<U0049><U0051><U0044><U0020>"
currency_symbol       "<U062F><U002E><U0639><U002E>"
mon_decimal_point     "<U002E>"
mon_thousands_sep     "<U002C>"
mon_grouping	      3
positive_sign	      ""
negative_sign	      "<U002D>"
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_NUMERIC
% This is the POSIX Locale definition for the LC_NUMERIC  category.
%
decimal_point	       "<U002E>"
thousands_sep	       "<U002C>"
grouping	       3
%
END LC_NUMERIC


LC_TIME
% This is the POSIX Locale definition for the LC_TIME category.
% These are generated based on XML base Locale difintion file
%
% Abbreviated weekday names (%a)
abday	    "<U06CC><U06D5><U0626><U0634>";"<U062F><U0648><U0648><U0634>";/
	    "<U0633><U0626><U0634>";"<U0686><U0648><U0631><U0634>";/
	    "<U067E><U0626><U0634>";"<U0647><U0647>";/
	    "<U0634><U06D5><U0645>"
%
% Full weekday names (%A)
day	    "<U06CC><U06D5><U0643><U0634><U06D5><U0645><U0645><U06D5>";/
	    "<U062F><U0648><U0648><U0634><U06D5><U0645><U0645><U06D5>";/
	    "<U0633><U06CE><U0634><U06D5><U0645><U0645><U06D5>";/
	    "<U0686><U0648><U0624><U0631><U0634><U06D5><U0645><U0645><U06D5>";/
	    "<U067E><U06CE><U0646><U062C><U0634><U06D5><U0645><U0645><U06D5>";/
	    "<U0647><U06D5><U06CC><U0646><U06CC>";/
	    "<U0634><U06D5><U0645><U0645><U06D5>";/
%
% Abbreviated month names (%b)
abmon	    "<U064A><U0646><U0627>";"<U0641><U0628><U0631>";/
	    "<U0645><U0627><U0631>";"<U0623><U0628><U0631>";/
	    "<U0645><U0627><U064A>";"<U064A><U0648><U0646>";/
	    "<U064A><U0648><U0644>";"<U0623><U063A><U0633>";/
	    "<U0633><U0628><U062A>";"<U0623><U0643><U062A>";/
	    "<U0646><U0648><U0641>";"<U062F><U064A><U0633>"
%
% Full month names (%B)
mon	    "<U064A><U0646><U0627><U064A><U0631>";/
	    "<U0641><U0628><U0631><U0627><U064A><U0631>";/
	    "<U0645><U0627><U0631><U0633>";/
	    "<U0623><U0628><U0631><U064A><U0644>";/
	    "<U0645><U0627><U064A><U0648>";/
	    "<U064A><U0648><U0646><U064A><U0648>";/
	    "<U064A><U0648><U0644><U064A><U0648>";/
	    "<U0623><U063A><U0633><U0637><U0633>";/
	    "<U0633><U0628><U062A><U0645><U0628><U0631>";/
	    "<U0623><U0643><U062A><U0648><U0628><U0631>";/
	    "<U0646><U0648><U0641><U0645><U0628><U0631>";/
	    "<U062F><U064A><U0633><U0645><U0628><U0631>"
%
% Equivalent of AM PM
am_pm	    "<U0635>";"<U0645>"
%
% Appropriate date and time representation
% %d %b, %Y%Z %I:%M:%S
d_t_fmt     "<U0025><U0064><U0020><U0025><U0062><U002C><U0020><U0025>/
<U0059><U0020><U0025><U005A><U0020><U0025><U0049><U003A><U0025><U004D>/
<U003A><U0025><U0053><U0020><U0025><U0070>"
%
% Appropriate date representation
% %d %b, %Y
d_fmt	    "<U0025><U0064><U0020><U0025><U0062><U002C><U0020><U0025><U0059>"
%
% Appropriate time representation
% %Z %I:%M:%S
t_fmt	    "<U0025><U005A><U0020><U0025><U0049><U003A><U0025><U004D>/
<U003A><U0025><U0053><U0020>"
%
% Appropriate 12 h time representation (%r)
t_fmt_ampm  "<U0025><U005A><U0020><U0025><U0049><U003A><U0025><U004D>/
<U003A><U0025><U0053><U0020><U0025><U0070>"
%
% Appropriate date representation (date(1))   "%a %b %e %H:%M:%S %Z %Y"
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>"
%  FIXME: found in CLDR
first_weekday 7
END LC_TIME


LC_MESSAGES
copy "ckb_IQ"
END LC_MESSAGES


LC_PAPER
% This is the ISO_IEC TR14652 Locale definition for the
copy "ckb_IQ"
height	    297
width	    210

END LC_PAPER


LC_NAME
% This is the CKB Locale definition for the
% LC_NAME category.
%
name_fmt    "<U0025><U0069><U0025><U0074><U0025><U0066><U0025><U0074>/
<U0025><U0067>"
name_gen    "<U002D><U0073><U0061><U006E>"
name_mr     "<U0643><U0627><U0643>"
name_mrs    "<U062E><U0627><U062A><U0648>"
name_miss   "<U062E><U0627><U062A><U0648>"
name_ms     "<U062E><U0627><U062A><U0648>"

END LC_NAME


LC_ADDRESS
% This is the IQ CKB Locale definition for the
% LC_ADDRESS
postal_fmt  "<U0025><U007A><U0025><U0063><U0025><U0049><U0025><U0073>/
<U0025><U0062><U0025><U0065><U0025><U0072>"
country_ab2 "<U0049><U0052><U0051>"
country_ab3 "<U0049><U0052><U0051>"
country_post "<U0049><U0052><U0051>"
country_num 364
country_car "<U0049><U0052><U0051>"
% "kurd<U00EE>"
lang_name   "<U0643><U0648><U0631><U062F><U06CC>"
lang_ab     "<U0643><U0648>"
lang_term   "<U0066><U0061><U0073>"
lang_lib    "<U006B><U0075><U0072>"

END LC_ADDRESS


LC_TELEPHONE
% This is the IQ CKB Locale definition for the
%
tel_int_fmt "<U002B><U0025><U0063><U0020><U003B><U0025><U0061><U0020>/
<U003B><U0025><U006C>"
int_prefix  "<U0039><U0036><U0034>"

END LC_TELEPHONE


LC_MEASUREMENT
% This is the ISO_IEC TR14652  Locale definition for the
% 
measurement 1

END LC_MEASUREMENT
Comment 7 Aras Noori 2009-04-16 20:38:55 UTC
I updated the file. please check if still has a bad format.
Comment 8 Aras Noori 2009-06-19 21:13:22 UTC
Subject: Re:  Please add Kurdish locale for Kurdish 
	Sorani (CKB)

Hi
I update the locale couple weeks ago, would you please check it again

http://www.sourceware.org/ml/libc-locales/2009-q2/msg00021.html

Its my pleasure to hear from you a feedback.

Regards
Aras



On Sat, Feb 7, 2009 at 5:53 AM, drepper at redhat dot
com<sourceware-bugzilla@sourceware.org> wrote:
>
> ------- Additional Comments From drepper at redhat dot com  2009-02-07 03:53 -------
> The file is ill-formed.  The file is named ckb_IQ and you use it in "copy" in
> various categories?  You also have copy and definitions in categories like
> LC_PAPER.  You have to fix it up.
>
> --
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|NEW                         |WAITING
>
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=9809
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>



Comment 9 Martin Pitt 2009-06-22 06:10:02 UTC
Can you please attach the current version instead of adding it as a comment? The
latter destroys all the non-ASCII characters.
Comment 10 Aras Noori 2009-06-22 20:35:05 UTC
Created attachment 4013 [details]
new Locale info for CKB

hier is the new local info for CKB
Comment 11 Aras Noori 2009-09-03 10:23:23 UTC
Created attachment 4168 [details]
new fixed Locale info for CKB

fixed bugs in Message category
Comment 12 Aras Noori 2009-09-24 22:41:34 UTC
Created attachment 4228 [details]
Locale info for CKB
Comment 13 Martin Pitt 2009-10-06 09:27:32 UTC
Info is provided, changing back to NEW
Comment 14 Martin Pitt 2009-10-06 09:49:35 UTC
I get a lot of errors when I try to build this locale:

locales/ckb_IQ:62: LC_COLLATE: syntax error
locales/ckb_IQ:63: LC_COLLATE: syntax error
locales/ckb_IQ:64: LC_COLLATE: syntax error
locales/ckb_IQ:66: LC_COLLATE: syntax error
locales/ckb_IQ:67: LC_COLLATE: syntax error
locales/ckb_IQ:68: LC_COLLATE: syntax error
locales/ckb_IQ:69: LC_COLLATE: syntax error
locales/ckb_IQ:70: LC_COLLATE: syntax error
locales/ckb_IQ:71: LC_COLLATE: syntax error
locales/ckb_IQ:72: LC_COLLATE: syntax error
locales/ckb_IQ:73: LC_COLLATE: syntax error
locales/ckb_IQ:74: LC_COLLATE: syntax error
locales/ckb_IQ:76: trailing garbage at end of line
locales/ckb_IQ:77: trailing garbage at end of line
locales/ckb_IQ:78: trailing garbage at end of line
locales/ckb_IQ:79: trailing garbage at end of line
locales/ckb_IQ:80: trailing garbage at end of line
locales/ckb_IQ:81: trailing garbage at end of line
locales/ckb_IQ:82: trailing garbage at end of line
locales/ckb_IQ:83: trailing garbage at end of line
locales/ckb_IQ:84: LC_COLLATE: cannot reorder after U000006CC: symbol not known
locales/ckb_IQ:155: extra trailing semicolon
LC_NAME: invalid escape sequence in field `name_fmt'
LC_ADDRESS: invalid escape `%I' sequence in field `postal_fmt'
LC_ADDRESS: `lang_ab' value does not match `lang_term' value
LC_ADDRESS: `lang_lib' value does not match `lang_term' value
LC_ADDRESS: `country_ab2' value does not match `country_num' value
LC_ADDRESS: `country_ab3' value does not match `country_num' value
Comment 15 Aras Noori 2009-10-06 10:09:16 UTC
I am analyzing the Errors now and try to fix them as soon as I can.

Thanks & Regards
Aras
Comment 16 Aras Noori 2009-11-04 10:29:41 UTC
Created attachment 4357 [details]
CKB locale - updated

Hi,
I fixed some errors due to the occured Errors. How can I test it by myself
before release to bugzilla?

Regards
Comment 17 Aras Noori 2009-12-10 20:37:03 UTC
Any progress?

(In reply to comment #16)
> Created an attachment (id=4357)
> CKB locale - updated
> 
> Hi,
> I fixed some errors due to the occured Errors. How can I test it by myself
> before release to bugzilla?
> 
> Regards
> 

Comment 18 Petr Baudis 2010-06-01 02:50:39 UTC
Use localedef to compile your locale, and $LOCPATH if you don't want to install
it system-wide in order to test it.
Comment 19 Ulrich Drepper 2011-05-15 12:31:57 UTC
The file isn't usable as-is, there are many problems when compiling it.

First, it must be in UTF-8.

Second, the collation rules seem all pretty bogus since there already are rules for all the characters defined.  If needed, you have to redefine the relocation.

Third, there are many syntax errors.

Fourth, all the values for the fields must use the <U....> notation, not real strings.

Fifth, the values for some fields is plain wrong.  localedef will tell you.

I did add the language code to localedef now.


Just run localedef like

   localedef -i ./YOURFILE -f UTF-8 ./SOMEDIR
Comment 20 Aras Noori 2011-05-16 08:24:29 UTC
Created attachment 5727 [details]
CKB-IQ locale info (Kurdish Sorani)

CKB-IQ locale info (Kurdish Sorani)
Comment 21 Aras Noori 2011-05-16 08:29:58 UTC
Hi,
I updated the file, it was full of syntax Errors, I repair most of them, hope its works now.
I observed many locale files used slach / others using backslash \, compiler distinguished between them!, I learned its should not be so. The file is saved as UTF-8 also with Unix format of EOL.

best regards
Aras
Comment 22 Ulrich Drepper 2011-05-16 15:03:51 UTC
You haven't fixed the collation information.  You have to use the generic collation data (include it, do not copy it) and then, if necessary at all, define modifications using reorder_after etc.
Comment 23 Aras Noori 2011-05-16 15:23:50 UTC
(In reply to comment #22)
> You haven't fixed the collation information.  You have to use the generic
> collation data (include it, do not copy it) and then, if necessary at all,
> define modifications using reorder_after etc.

did you mean 
% collating-element <LAM WITH SMALL V-ALEF> from <U06B5><U0627>

they are already commented.

regards
Aras
Comment 24 Erdal Ronahi 2011-05-18 15:16:51 UTC
Hallo Aras,

gut zu sehen, dass Du wieder an der Datei arbeitest.

Weißt Dul was "collation" ist und wozu es gut ist? Es geht dabei um die
Reihenfolge der alphabetischen Sortierung.

Liebe Grüße
Erdal

On 16 May 2011 17:24, aras.noori at gmail dot com <
sourceware-bugzilla@sourceware.org> wrote:

> http://sourceware.org/bugzilla/show_bug.cgi?id=9809
>
> --- Comment #23 from Aras Noori <aras.noori at gmail dot com> 2011-05-16
> 15:23:50 UTC ---
> (In reply to comment #22)
> > You haven't fixed the collation information.  You have to use the generic
> > collation data (include it, do not copy it) and then, if necessary at
> all,
> > define modifications using reorder_after etc.
>
> did you mean
> % collating-element <LAM WITH SMALL V-ALEF> from <U06B5><U0627>
>
> they are already commented.
>
> regards
> Aras
>
> --
> Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
Comment 25 Erdal Ronahi 2011-05-18 15:28:26 UTC
Sorry for posting in German here, wasn't aware that replies go directly to
the bugmail.
Comment 26 Ulrich Drepper 2011-05-28 03:55:07 UTC
(In reply to comment #23)
> (In reply to comment #22)
> > You haven't fixed the collation information.  You have to use the generic
> > collation data (include it, do not copy it) and then, if necessary at all,
> > define modifications using reorder_after etc.
> 
> did you mean 
> % collating-element <LAM WITH SMALL V-ALEF> from <U06B5><U0627>
> 
> they are already commented.

No.  Look at the other files.  There are some broken ones but those I caught in time are using

copy "iso14651_t1"

and then use if necessary reorder_after.
Comment 27 Aras Noori 2011-06-28 08:28:56 UTC
Yes Erdal I also defined 3 collations, they were had syntax Error as Mr. Ulrich Drepper says. I would upload the new version later. Thanks for your efforts.
Comment 28 Petr Baudis 2012-04-04 17:00:54 UTC
WAITING for almost a year now. Please reopen the bug when you have a new patch.
Comment 29 Petr Baudis 2012-04-04 17:03:34 UTC
Sorry for the clicko; this was not fixed.
Comment 30 Jwtiayr Nariman 2012-11-04 16:05:39 UTC
Can you Post problems?
Comment 31 Jackie Rosen 2014-02-16 17:47:30 UTC Comment hidden (spam)
Comment 32 Aras Noori 2014-11-03 23:21:18 UTC
Created attachment 7887 [details]
CKB-IQ locale info (Kurdish Sorani)
Comment 33 Aras Noori 2014-11-03 23:24:36 UTC
Hi All,
I attached the new version, bug free.

I also renewed the Bug on Launchpad at:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/1388808

Best regards for all your efforts in past.

Regards
Aras
Comment 34 Gunnar Hjalmarsson 2014-11-04 00:45:54 UTC
Please see comment #33 by Aras Noori.
Comment 35 Mike Frysinger 2016-06-07 04:26:10 UTC
first, please update the header of the file to match all the current locales.  the first ~10 lines should be the same (e.g. as en_US).  you should sync to latest git as the last release is out of date already.

> title      "Kurdish language locale based on Arabic letters"

this should be:
Central Kurdish language locale for Iraq

> tel	 	   "+49 17629857380"

leave this field blank

> language   "Kurdish"

change to "Central Kurdish"

> territory  "Iraq, Iran"

drop Iran.  this locale is only for Iraq.

> category  "ckb_IQ:2000";LC_IDENTIFICATION

you'll need to fix all these category fields.  copy them from en_US for their correct values.

> LC_COLLATE

please rebase this to start with:
copy "iso14651_t1"

> % This is the POSIX Locale definition for the LC_NUMERIC  category.

delete these old comments from the LC_NUMERIC, LC_TIME, LC_NAME, and LC_ADDRESS categories

> LC_TIME

are you sure about the day/abday/mon/abmon translations ?  CLDR says they're different.

make sure day/abday start on Sunday

> am_pm

does Iraq really use am/pm notation ?  if not, leave these fields blank.

> first_workday 7

change this to 2 and add this line:
week 7;19971130;1

> yesexpr  "<U0628><U06D5><U06B5><U06CE>"
> noexpr   "<U0646><U06D5><U062E><U06CE><U0631>"

these need to be updated.  these should be regular expressions to match a yes/no answer.  see the current en_US value as an example.

please also provide yesstr/nostr translations

> LC_PAPER
> LC_MEASUREMENT

change both of these categories to simply:
copy "ar_IQ"

> name_gen    "<U002D><U0073><U0061><U006E>"

this is "-san".  is that correct ?

> country_car "<U0049><U0051>"

shouldn't this be "IRQ" instead of "IQ" ?

> LC_ADDRESS

please define country_name (localized translation for Iraq)

> tel_int_fmt "+%c ;%a ;%l"

pretty sure this should be:
  +%c %a%t%l

> tel_dom_fmt    "<U202A><U0025><U0041><U2012><U0025><U006C><U202C>"

are you sure this is correct ?