Bug 367 - New locale si_LK
Summary: New locale si_LK
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Petter Reinholdtsen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-03 12:46 UTC by Anuradha Ratnaweera
Modified: 2019-04-10 15:07 UTC (History)
1 user (show)

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


Attachments
Sinhala language locale for Sri Lanka (1.68 KB, text/plain)
2004-09-03 12:48 UTC, Anuradha Ratnaweera
Details
Fixes LC_NAME. (1.68 KB, text/plain)
2004-09-17 08:45 UTC, Anuradha Ratnaweera
Details
Sets the language name as in ISO. (1.68 KB, patch)
2004-09-23 08:25 UTC, Anuradha Ratnaweera
Details | Diff
Fixes the language name (again!) (1.69 KB, text/plain)
2004-09-29 06:04 UTC, Anuradha Ratnaweera
Details
Fixes a typo in LC_NAME (1.69 KB, text/plain)
2004-10-10 07:41 UTC, Anuradha Ratnaweera
Details
Fixes LC_MONETARY and email (1.69 KB, text/plain)
2004-11-02 11:15 UTC, Anuradha Ratnaweera
Details
Added charset. (1.70 KB, text/plain)
2005-08-01 16:52 UTC, Anuradha Ratnaweera
Details
Typo in SUPPORTED file (190 bytes, patch)
2005-10-18 07:18 UTC, Anuradha Ratnaweera
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anuradha Ratnaweera 2004-09-03 12:46:38 UTC
The Sinhala GNU/Linux project of Lanka Linux User Group
(http://sinhala.linux.lk) has created the si_LK locale (Sinhala Language, Sri
Lanka).

It was once reviewed by Petter Reinholdtsen, and we have incorporated the
changed suggested (and also a lot more improvements for the LC_TIME category).

http://www.lug.lk/lurker/message/20040331.115716.7420a6db.html
http://cvs.linux.lk/cgi-bin/cvsweb/sinhala/locale/si_LK

Please add this locale to glibc.
Comment 1 Anuradha Ratnaweera 2004-09-03 12:48:25 UTC
Created attachment 186 [details]
Sinhala language locale for Sri Lanka


Please add to all the branches if glibc if possible.  Thanks.
Comment 2 Petter Reinholdtsen 2004-09-17 08:08:04 UTC
I had a look at the new locale, and my simple script to check for
frequent errors found no problem with it.  The country part of the
locale name (LK) is for Sri Lanka, but the language code si is
according to ISO 639-2 "Sinhalese", not "Sinhala".  I assume this
is a mis-spelling in the proposed locale.  I suggest this mis-spelling
is fixed, and when this is done, the locale should be acceptable
into glibc.

BTW: I believe it is not really useful to just duplicate the
ISO_IEC TR14652 content for LC_PAPER, LC_NAME, LC_ADDRESS,
LC_TELEPHONE and LC_MEASUREMENT into the locale.  It might be more
useful to use the 'copy "i18n"' statement to make the reference
more obvious.  This is just an idea, and not a requirement on my
part for inclusion.

I'll forward it to the glibc maintainers when the new version is
available.
Comment 3 Anuradha Ratnaweera 2004-09-17 08:30:10 UTC
I checked with a key member of the standards group (for the second) about the
correct one, and according to him Sinhala is becoming the standard norm, and
they are working on getting it to the national (SLS) standard, which will
eventually reflect in the ISO.  Nothing is filalized yet, but as it stands now,
Sinhala seems to be a more futuristic option.

But if there is a policy of going with exact ISO names, then that's a different
story.

As for the LC_PAPER, and LC_TELEPHONE etc, we _have_ added the paper sizes and
the country code.

LC_NAME needs fixing.  Will add a corrected version.

LC_ADDRESS and LC_MEASUREMENT have not been changed.
Comment 4 Anuradha Ratnaweera 2004-09-17 08:45:07 UTC
Created attachment 194 [details]
Fixes LC_NAME.

This attachment corrects LC_NAME.  Thanks.
Comment 5 Anuradha Ratnaweera 2004-09-23 08:25:43 UTC
Created attachment 199 [details]
Sets the language name as in ISO.

This changes the language name from Sinhala to Sinhalese.  Plese add it to
glibc.	Thanks in advance.
Comment 6 Anuradha Ratnaweera 2004-09-29 06:04:08 UTC
Created attachment 207 [details]
Fixes the language name (again!)

Hi Petter,

The SLSI standards committee met last Monday and discussed the use of "Sinhala"
vs "Sinhalese", and it was agreed that "Sinhala" is the correct use.  The
committee also will soon push ISO to change Sinhalese to Sinhala.  As Sri Lanka
is the the main country where Sinhala is used, so there is no reason for ISO
committee to object to this.

Here is the related post from Dr Gihan Dias of the committee:

http://www.lug.lk/lurker/message/20040929.045834.d73f10bb.html

Thanks.  IMHO, the locale is okay as it is now.  Please commit.  Thanks.
Comment 7 Anuradha Ratnaweera 2004-10-10 07:41:27 UTC
Created attachment 225 [details]
Fixes a typo in LC_NAME

The last bugfix to si_LK file is not in the version submitted.	This attachment
corrects it.
Comment 8 Anuradha Ratnaweera 2004-10-21 04:27:32 UTC
ISO 639 has been amemded, and now Sinhala can be "officially" used instead of
"Sinhalese".

http://www.loc.gov/standards/iso639-2/englangn.html

http://www.lug.lk/lurker/message/20041020.140203.a1d7500f.en.html
Comment 9 Anuradha Ratnaweera 2004-10-25 06:24:37 UTC
This is the most upto date link for the ISO 639 amendment.  It contains only
Sinhala:

http://www.loc.gov/standards/iso639-2/langcodes.html
Comment 10 Petter Reinholdtsen 2004-10-31 16:51:14 UTC
The new locale looks good.  Two issues:

 - bug-glibc@gnu.org is no longer the contact address.  Use
   libc-locales@sources.redhat.com instead.

 - Why is the grouping for LC_MONETARY and LC_NUMERIC different?
Comment 11 Anuradha Ratnaweera 2004-11-02 11:15:29 UTC
Created attachment 253 [details]
Fixes LC_MONETARY and email


- Corrected email address

- Fixed grouping in LC_MONETARY
Comment 12 Petter Reinholdtsen 2005-08-01 16:16:18 UTC
The locale look good.  When it is added to glibc, it should also be added
to the SUPPORTED file.  To make it possible, the expected charset of the locale
must be known.  What charset should be used for si_LK?  Only UTF-8, or something
else?
Comment 13 Anuradha Ratnaweera 2005-08-01 16:51:09 UTC
(In reply to comment #12)
> What charset should be used for si_LK?  Only UTF-8, or something else?

UTF-8 only.
Comment 14 Anuradha Ratnaweera 2005-08-01 16:52:26 UTC
Created attachment 564 [details]
Added charset.
Comment 15 Ulrich Drepper 2005-10-15 04:14:20 UTC
I added the data to CVS trunk.
Comment 16 Anuradha Ratnaweera 2005-10-18 07:18:58 UTC
Created attachment 720 [details]
Typo in SUPPORTED file

The charset for si_LK is listed as ITF-8 instead of UTF-8.  Attached is the
[trivial] patch to fix it.  Please apply.  Thanks.