Bug 18812 - kab_DZ: new Kabyle Algeria locale
Summary: kab_DZ: new Kabyle Algeria locale
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 12:15 UTC by Claude Paroz
Modified: 2017-08-31 07:53 UTC (History)
4 users (show)

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


Attachments
Kabyle locale file (1.40 KB, text/plain)
2015-08-12 12:15 UTC, Claude Paroz
Details
Revised Kabyle locale file (1.43 KB, text/plain)
2016-07-06 19:05 UTC, Claude Paroz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claude Paroz 2015-08-12 12:15:36 UTC
Created attachment 8507 [details]
Kabyle locale file

Here is a new locale for the Kabyle language in Algeria.
Comment 1 Mike Frysinger 2016-06-10 17:56:47 UTC
Comment on attachment 8507 [details]
Kabyle locale file

>comment_char %
>escape_char /

please use the same header as other current locales:
https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/locales/en_US

copy the first ~10 lines over

>LC_IDENTIFICATION
>title      "Kabyle locale for Algeria"

should be:
Kabyle language locale for Algeria

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

these are all incorrect -- just copy them from en_US (see the link above)

>LC_TIME
>% yennayer, Furar, Meɣres, Ibrir, Maggu, Yunyu, Yulyu, Ɣuct, Cutembir, Tuber, Unbir, Dujenbir

delete all these comments that just translate the <Uxxx> values.  we've been dropping them from locales.

>% Accer, Arim, Aram, Ahad, Amhad, Ssem, Ssed
>day  "<U0041><U0063><U0063><U0065><U0072>";/

just to be sure -- the first day here is Sunday right ?

you should also define week in LC_TIME:
  week 7;19971130;1

>LC_MONETARY

please define currency_symbol too

>LC_PAPER
>height 297
>width  210
>END LC_PAPER
>
>LC_MEASUREMENT
>% metric
>measurement 1
>END LC_MEASUREMENT

copy ber_DZ for both of these

>LC_MESSAGES
>% ^[iIyY].*
>yesexpr "<U005E><U005B><U0069><U0049><U0079><U0059><U005D><U002E><U002A>"
>% ^[aAnN].*
>noexpr  "<U005E><U005B><U0061><U0041><U006E><U004E><U005D><U002E><U002A>"
>END LC_MESSAGES

these should be:
yesexpr "^[+1yYiI]"
noexpr  "^[-0nNaA]"

>LC_NAME
>END LC_NAME

please fill out all the fields here

>country_num  12

this should be 012

>country_car  "<U0041>"

pretty sure this should be DZ

>LC_TELEPHONE
>% 213
>int_prefix  "<U0032><U0031><U0033>"
>END LC_TELEPHONE

can you fill out the other fields here please ?
Comment 2 Claude Paroz 2016-06-11 09:58:16 UTC
Thanks Mike for the excellent review!

>>LC_NAME
>>END LC_NAME

>please fill out all the fields here

What do you mean by "all the fields"? Is this list: name_fmt, name_miss, name_mr, name_mrs, name_ms?
Comment 3 Mike Frysinger 2016-06-11 14:13:19 UTC
(In reply to Claude Paroz from comment #2)

those 5 fields, and name_gen.  not all languages have concepts/translations for all the fields, but it seems unlikely that this one has none.
Comment 4 Claude Paroz 2016-07-06 19:05:27 UTC
Created attachment 9380 [details]
Revised Kabyle locale file
Comment 5 Claude Paroz 2016-07-06 19:06:43 UTC
I just uploaded a revised file, status should be updated.
Comment 6 Chris Leonard 2016-08-21 18:39:11 UTC
(In reply to Claude Paroz from comment #5)
> I just uploaded a revised file, status should be updated.

Yes, this looks like it is ready for commit.  - cjl
Comment 7 Belkacem Mohammed 2017-06-07 13:07:19 UTC
The bug is still new? Please Would you like commit? 
If there is something wrong, let me know. I'am a Kabyle native and opensource kab localizer.
Comment 8 Carlos O'Donell 2017-06-08 18:41:53 UTC
(In reply to Belkacem Mohammed from comment #7)
> The bug is still new? Please Would you like commit? 
> If there is something wrong, let me know. I'am a Kabyle native and
> opensource kab localizer.

My apologies. Commits for new locales only happen when you're working directly with a community developer that can commit this code for you. Maintainers are listed here: https://sourceware.org/glibc/wiki/MAINTAINERS.

The review by Chris Leonard in comment #6 is proof enough that kab_DZ should be ready for commit. Chris is known in the community and has reviewed such patches in the past (though he is not a glibc developer).

Have you been using the new kab_DZ locale? Is it working well? Does it match what is being submitted here? Which distro is including the locale?
Comment 9 Belkacem Mohammed 2017-06-08 22:47:07 UTC
Hello,
Thanks for help.

I can't understand much more about technical devs . I followed a link when I was trying to start the kab locale  for openSUSE.

The kab localization of openSUSE is now ongoing but, it seems that we need kab on glibc to release our locale.

We are also working on the kab locale on CLDR (please see http://st.unicode.org/cldr-apps/v#/kab/). You will find all needed data. 

The kab locale is now available on all Mozilla products and content (Firefox, Thudenrbird..), Odoo and much more.  

Note the iso 639-2 code of the Kabyle language is kab. Kab-DZ is same as kab. There is no other variant for our language.

Please, let me know if you need more information

Thank you
Comment 10 Claude Paroz 2017-08-31 07:24:16 UTC
The locale file was approved by Chris, a known glibc language reviewer more than a year ago. I struggle to find reasons for why this file was not yet committed.
Comment 11 Belkacem Mohammed 2017-08-31 07:53:24 UTC
:) It took a lot of time.

If there is something wrong with the file, somethig we can add, please let us know.
thanks for help

M. Belkacem
Kabyle Software localizer
https://translatewiki.net/wiki/User:Belkacem77