This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/18812] kab_DZ: new Kabyle Algeria locale


https://sourceware.org/bugzilla/show_bug.cgi?id=18812

--- Comment #1 from Mike Frysinger <vapier at gentoo dot org> ---
Comment on attachment 8507
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8507
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 ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]