Magahi locale created

Magahi (mag), one of the ancient language spoken from the age of Buddha has now got its own locale for localization in open source. It belongs to devanagari script and spoken by 13 million people in the region of Bihar, Jharkhand and some parts of West Bengal. It is similar to maithali language. So, we with the help of fuel community started localization of open source through magahi language.

What is Locale?

In computing, Locale is a set of parameters that defines the user,s language, country and special variant preferences that the user wants to see in their user’s interface. It consists of a language identifier and a region identifier.

Create a locale file for a language:

Download a general locale file of any previous language having its locale like magahi locale file from here http://sourceware.org/bugzilla/attachment.cgi?id=6347  (as i have done.). Fill all the required information and convert it into UTF-8 encoding with using the command in python interpreter by using the command “>>> w = “प्रविण” >>>w.decode(“utf8”) “.

For compiling the locale file visit here:http://pravin-s.blogspot.in/2008/03/steps-to-test-glibc-sorting-order-of.html.

How to create a locale for a new language?

Since that new language has no locale in the different operating system. So, it is a bug.

So, we have to file a bug report either in redhat Bugzilla or Sourceware Bugzilla. Following are the steps given for filing a bug for a locale of a new language.

  1. Go to  Redhat Bugzilla or Source Bugzilla Home page.
  2. Create your own user account.
  3. Now log in into your account.
  4. Now go to “file a bug” link.
  5. File it under “localedata” component.
  6. select product “glibc”.
  7. Write Summary of the bug as “Adding a new language locale”.
  8. Attach the Locale text file for that language.
  9. In comments write about that language like about its origin, total speakers and why to create locale for this language?


After that locale will be created when bug will be solved.you can view this bug here: http://sourceware.org/bugzilla/show_bug.cgi?id=13968.

In this way i have created the locale for magahi language with the help of rajesh ranjan, jassy, pravin satpute. Thanks a lot to all of them.

Advertisements