Bug 10824 - Locale file for Chuvash - cv_RU
Summary: Locale file for Chuvash - cv_RU
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: 2.10
: P2 normal
Target Milestone: ---
Assignee: GNU C Library Locale Maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-21 23:16 UTC by Adi Roiban
Modified: 2014-07-01 05:36 UTC (History)
1 user (show)

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


Attachments
cv_RU locale files (1.96 KB, text/plain)
2009-10-22 00:27 UTC, Adi Roiban
Details
Working locale file (1.76 KB, text/plain)
2009-10-22 18:37 UTC, Adi Roiban
Details
reorder-after added (1.93 KB, text/plain)
2009-11-01 14:39 UTC, Adi Roiban
Details
diaerisis fixed (1.94 KB, text/plain)
2009-11-01 14:55 UTC, Adi Roiban
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adi Roiban 2009-10-21 23:16:27 UTC
Hi, 

I'm helping the Chuvash speaking users to implemnt Chuvash locale support in glibc.

The initial bug report was filed in Ubuntu here.

The cv_RU locale file can be found here:
http://launchpadlibrarian.net/33739429/cv_RU

When trying to install the file we get this error, but we don't know how to fix it. 

$ localedef -i '/home/blackfez/Desktop/cv_RU' -f ISO-8859-1 cv_RU
LC_ADDRESS: `lang_ab' value does not match `lang_term' value
LC_ADDRESS: `lang_lib' value does not match `lang_term' value
LC_ADDRESS: `country_ab2' value does not match `country_num' value
LC_ADDRESS: `country_ab3' value does not match `country_num' value

Any help is much appreciated!

Kindest regards,
Adi
Comment 1 Dmitry V. Levin 2009-10-22 00:12:16 UTC
That locale file contains several buggy and/or redundant definitions that should
be replaced with
copy "ru_RU"
statements.  See also
http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/locales/tt_RU
Comment 2 Adi Roiban 2009-10-22 00:27:43 UTC
Created attachment 4307 [details]
cv_RU locale files

I have replace the redundant entries with copy "ru_RU" but we still get those
errors.

Looking at this error message I don't know why lang_ab should match lang_term.
For many locales they are not the same.
LC_ADDRESS: `lang_ab' value does not match `lang_term' value
Comment 3 Adi Roiban 2009-10-22 18:37:43 UTC
Created attachment 4311 [details]
Working locale file

I have copied LC_ADDRESS from ru_RU and now it is working.

Can you please include it in the next glib release?

Many thanks!
Comment 4 Ulrich Drepper 2009-10-26 20:52:44 UTC
The code below is not sufficient.  You have to use reorder_after to assign the
collation symbols their place. Just mentioning it in the comment is not going to
work.


LC_COLLATE
copy "iso14651_t1"

% The Chuvash alphabet has the following letters, ordered as below:
% a a( c e e( h i j k l m n p r s< s s, t u u: v y

collating-symbol <a(>
collating-symbol <e(>
collating-symbol <s<>
collating-symbol <s,>
collating-symbol <u:>

END LC_COLLATE
Comment 5 Adi Roiban 2009-11-01 14:39:51 UTC
Created attachment 4348 [details]
reorder-after added

Hi,

I have added the reorder-after reference.

Please excuse my errors. I'm still trying to understand the ISO 146522 standard


Cheers
Comment 6 Adi Roiban 2009-11-01 14:55:30 UTC
Created attachment 4349 [details]
diaerisis fixed

This should fix the diaeresis problem
Comment 7 Adi Roiban 2009-11-16 21:50:53 UTC
HI,

Is there anything I can do to push forward a resolution for this issue?
Comment 8 Ulrich Drepper 2010-04-09 03:17:37 UTC
I've added the locale now.