Bug 13968 - adding new locale Magahi (mag)
Summary: adding new locale Magahi (mag)
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: 2.15
: P1 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
Depends on:
Reported: 2012-04-11 16:26 UTC by law
Modified: 2014-06-25 11:18 UTC (History)
3 users (show)

See Also:
Last reconfirmed:
fweimer: security-

Potential patch from Chandan Kumar (1.66 KB, application/octet-stream)
2012-04-11 16:26 UTC, law
Magahi language locale for India (1.15 KB, text/plain)
2012-04-18 10:55 UTC, Pravin S
Magahi language locale for India (1.16 KB, text/plain)
2012-04-18 13:02 UTC, Pravin S

Note You need to log in before you can comment on or make changes to this bug.
Description law 2012-04-11 16:26:31 UTC
Created attachment 6334 [details]
Potential patch from Chandan Kumar

glibc doesn't support the Magahi locale.

About 13 million people speak this language in india and highly used in the
local areas of india.

More can be find at ..
Comment 1 law 2012-04-11 16:28:09 UTC
Please contact Chandan Kumar WRT this locale.

Comment 2 chandankumar 2012-04-14 07:17:05 UTC
You can get more information regarding magahi on the following websites:

We need the creation of locale for magahi language.
It is necessary.
Comment 3 Petr Baudis 2012-04-14 10:09:47 UTC
Your locale does not compile for me, it fails right at the beginning:

<stdin>:38: LC_CTYPE: field `outdigit' declared more than once
<stdin>:38: LC_CTYPE: syntax error
<stdin>:42: duplicated definition for mapping `to_inpunct'
circular dependencies between locale definitions

You perhaps meant to leave just the copy command in that section?

Your locale file contains raw literals instead of <U>-encoded characters. There is currently a discussion about allowing this on the mailing list, but it did not reach a definitive conclusion yet.
Comment 4 Pravin S 2012-04-18 10:55:53 UTC
Created attachment 6346 [details]
Magahi language locale for India

While working on this i found most of the part was same as hi_IN locale, so just copied hi_IN which is more preferred way.

Dunno why  
name_miss   ""
name_ms     ""

are blank, might be we can write something there as well. Chandan can you check it again.
Comment 5 chandankumar 2012-04-18 11:44:52 UTC
Pravin Thank you for converting it into Unicode.

Please update the following file by adding following things there:
   name_miss   "सुश्री"
   name_ms     "सुश्री"
please convert it into Unicode and update the file.
Comment 6 Pravin S 2012-04-18 13:02:38 UTC
Created attachment 6347 [details]
Magahi language locale for India

Updated the strings for miss and ms.
Comment 7 chandankumar 2012-04-18 13:13:41 UTC
pravin! Thanks for updating.
Comment 8 Petr Baudis 2012-04-20 10:55:05 UTC
There is nothing critical about this bug, please do not bump the importance just like that.

It looks fine to me, I'll run it through the mailing list and then commit.
Comment 9 chandankumar 2012-04-20 13:45:24 UTC
in reply to Petr Baudis

Please tell me the mailing list of glibc. I want to join.
Comment 10 chandankumar 2012-04-30 15:41:30 UTC
When this locale will be added to the glibc?
We have a need of it to bring the translation of this language for new release of other operating Systems.
Please add it.
Comment 11 Petr Baudis 2012-04-30 16:19:09 UTC
I'm sorry for the delay. I'm not sure if GNU Copyright Assignment is required for contribution of new locale. I asked on the mailing list but got no feedback yet, I will ask again on legal@gnu.org and let you know when I have a reply, or you can proactively start sending the assignment anyway now in case it is required.
Comment 12 chandankumar 2012-04-30 16:56:33 UTC
i need the mailing list where it is discussed.
please give me the link.
Comment 13 Petr Baudis 2012-04-30 17:32:45 UTC
I believe a simple Google query would have answered your question. Nevertheless, see http://sourceware.org/ml/libc-locales/2012-q2/
Comment 14 chandankumar 2012-05-12 09:57:10 UTC
i am not getting any progress in the above bug.
Will it need more information?
Comment 15 Petr Baudis 2012-05-12 10:27:42 UTC
No need. Recently, we got information that no copyright assignment is needed. I plan to revisit this bug and apply the locale in few days.
Comment 16 Petr Baudis 2012-05-22 16:56:26 UTC
Committed, thanks for your contribution!