Bug 16078

Summary: New Language Locale : Angika (anp)
Product: glibc Reporter: Rajesh Ranjan <rajeshkajha>
Component: localedataAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: cjlhomeaddress, libc-locales, maiku.fabian, pravin.d.s, rajeshkajha
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: Angika language locale for India
Angika language locale for India
Angika language locale for India.
new anp_IN locale file

Description Rajesh Ranjan 2013-10-23 10:19:17 UTC
Created attachment 7251 [details]
Angika language locale for India

Submitting Language locale file for Angika [1] language. Please find attached.



[1]. http://en.wikipedia.org/wiki/Angika_language

Thanks!
Rajesh
Comment 1 Chris Leonard 2013-10-23 13:09:51 UTC
This locale will need some work before it is ready for submission (e.g. conversion into Unicode points for many fields).

I would like to work with you to prepare it to the standard necessary for inclusion in glibc.  I will reach out to your e-mail address as this will take a few iterations (I imagine).
Comment 2 Pravin S 2013-10-23 13:38:49 UTC
other than converting to Unicode, this locale also need some improvement like copying stuff from other existing locales. If you can wait for some time i can submit correct patch by tomorrow else proceed. I am fine with both :)
Comment 3 Chris Leonard 2013-10-23 14:09:24 UTC
I will wait for your revised patch,

Here are some LC_TIME conversions to consider

% Abbreviated weekday names (%a)
% रवि; सोम; मंगल; बुध; बृहस्पति; शुक्र; शनि
abday         "<U0930><U0935><U093F>";/
       "<U0938><U094B><U092E>";/
       "<U092E><U0902><U0917><U0932>";/
       "<U092C><U0941><U0927>";/
       "<U092C><U0943><U0939><U0938><U094D><U092A><U0924><U093F>";/
       "<U0936><U0941><U0915><U094D><U0930>";/
       "<U0936><U0928><U093F>"
%
% Full weekday names (%A)
% रविवार; सोमवार; मंगलवार; बुधवार; बृहस्पतिवार; शुक्रवार; शनिवार
day           "<U0930><U0935><U093F><U0935><U093E><U0930>";/
     "<U0938><U094B><U092E><U0935><U093E><U0930>";/
     "<U092E><U0902><U0917><U0932><U0935><U093E><U0930>";/
     "<U092C><U0941><U0927><U0935><U093E><U0930>";/
     "<U092C><U0943><U0939><U0938><U094D><U092A><U0924><U093F><U0935><U093E><U0930>";/
     "<U0936><U0941><U0915><U094D><U0930><U0935><U093E><U0930>";/
     "<U0936><U0928><U093F><U0935><U093E><U0930>"
%
% Abbreviated month names (%b)
% जन; फर; मार्च; अप्रै; मई; जून; जुल; अग; सित; अक्टू; नव; दिस
abmon         "<U091C><U0928>";/
       "<U092B><U0930>";/
       "<U092E><U093E><U0930><U094D><U091A>";/
       "<U0905><U092A><U094D><U0930><U0948>";/
       "<U092E><U0908>";/
       "<U091C><U0942><U0928>";/
       "<U091C><U0941><U0932>";/
       "<U0905><U0917>";/
       "<U0938><U093F><U0924>";/
       "<U0905><U0915><U094D><U091F><U0942>";/
       "<U0928><U0935>";/
       "<U0926><U093F><U0938>"
%
% Full month names (%B)
% जनवरी; फरवरी; मार्च; अप्रैल; मई; जून; जुलाई; अगस्त; सितंबर; अक्टूबर; नवंबर; दिसंबर
mon           "<U091C><U0928><U0935><U0930><U0940>";/
     "<U092B><U0930><U0935><U0930><U0940>";/
     "<U092E><U093E><U0930><U094D><U091A>";/
     "<U0905><U092A><U094D><U0930><U0948><U0932>";/
     "<U092E><U0908>";/
     "<U091C><U0942><U0928>";/
     "<U091C><U0941><U0932><U093E><U0908>";/
     "<U0905><U0917><U0938><U094D><U0924>";/
     "<U0938><U093F><U0924><U0902><U092C><U0930>";/
     "<U0905><U0915><U094D><U091F><U0942><U092C><U0930>";/
     "<U0928><U0935><U0902><U092C><U0930>";/
     "<U0926><U093F><U0938><U0902><U092C><U0930>"
%
% Equivalent of AM PM
% पूर्वाह्न; अपराह्न
am_pm         "<U092A><U0942><U0930><U094D><U0935><U093E><U0939><U094D><U0928>";/
       "<U0905><U092A><U0930><U093E><U0939><U094D><U0928>"

%
% Appropriate date and time representation
% %A %d %b %Y%I:%M:%S  %Z
d_t_fmt       "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0020><U0025><U005A>"
%
% Appropriate date representation
% %A %d %b %Y
d_fmt         "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059>"
%
% Appropriate time representation
% %I:%M:%S  %Z
t_fmt         "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0020><U0025><U005A>"
%
% Appropriate 12 h time representation (%r)
% %I:%M:%S/  %p %Z
t_fmt_ampm    "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U002F><U0020><U0020><U0025><U0070><U0020><U0025><U005A>"
Comment 4 Pravin S 2013-10-24 10:15:59 UTC
Created attachment 7252 [details]
Angika language locale for India

Thanks Chris for waiting. Here is attached locale file for Angika.
Comment 5 Rajesh Ranjan 2013-10-24 11:44:54 UTC
Hi Chris and Pravin,

Thanks for helping me here. Would be good if you can add your name in the contributors as you helped in conversion of the data. 

Thanks!

Rajesh
Comment 6 Pravin S 2013-10-24 11:52:24 UTC
Created attachment 7253 [details]
Angika language locale for India.

Yes sure. I have updated contributors name, might be useful if someone has any specific issues with this locale.
Comment 7 Chris Leonard 2013-10-24 12:06:18 UTC
I have a few small adjustments to propose.  I'll do this in the form of a modified attachment so you can compare.

1) LC_ADDRESS is best not to simply copy from hi_IN as it includes language specific fields (lang_term, lang_lib), so I will copy over from hi_IN and modify.

2) There is some recommended text from FSF about copyright that I will add.

3) after that, I will also identify the necessary adjustments to other glibc files (SUPPORTED) and format for submission as a patch sent to libc-alpha mailing list.
Comment 8 Pravin S 2013-10-24 12:19:34 UTC
Chris That looks fine. Thanks !!
Comment 9 Chris Leonard 2013-10-24 12:46:13 UTC
Created attachment 7255 [details]
new anp_IN locale file

Changed LC_ADDRESS, added FSF copyright statement
Comment 10 Chris Leonard 2013-10-25 12:16:12 UTC
Just a heads up.  I'm away from my computer this weekend, so I will commit on Monday.  The build test ran fine, so this should commit cleanly, with onyl a minor delay.
Comment 11 Chris Leonard 2013-10-29 12:35:35 UTC
Closed with commit 9668fc1b82f01355dd9addd0169706a735185151