Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Locale-Codes 3.00 released

0 views
Skip to first unread message

Sullivan Beck

unread,
Feb 10, 2010, 11:33:49 AM2/10/10
to

Locale-Codes now has a new maintainer, and I just released 3.00 which is
up-to-date with respect to the standards.

>From the change document:

New maintainer
=================

>From 1997 to 2004, Locale::Codes was maintained by Neil
Bowers. Unfortunately, no updates were made from June 2004 to January
2010. During that time, a number of changes have been made to the
standards since then, so the data included was out-of-date.

I contacted Neil to get his permission to assume maintenance of the
module, and he kindly agreed.

All codes are generated from standards
===========================================

All of the values returned by the various functions are now values
directly from the standards. This means that the values returned in the
2.xx series are not necessarily the same as the values returned here.

As an example, the ISO 3166 standard which lists country codes refers to
the country associated with the code "bo" as "Bolivia, Plurinational
State of", so that is what is returned. In the 2.xx series, "Bolivia"
was returned. Also, the country names vary from one standard to
another. So the code "bol" which is maintained by the United Nations
returns the name of the country as "Bolivia (Plurinational State
of)". Some common aliases have been added, so you can still request a
code associated with a county name "Bolivia".

Since the data comes from the standards, some "incorrect" values are no
longer supported. For example, 2.07 treated "Zaire" as an alias for
"Congo", but the country changed it's name, and "Zaire" is not in the
standard, so it has been dropped in 3.00.

Added several code sets from standards
=========================================

I've added the following code sets:

FIPS 10 country codes
Alpha-3 and Term language codes
Numeric currency codes

Locale::Script changed
===========================

In 2.xx, Locale::Script assigned scripts to country codes, which is NOT
how it is done currently in the standards. It appears that an older
version of ISO 15924 did this, but I haven't found an old version to
confirm that, and in any case, that is not the case in the current
standards.

As a result, the Locale::Script module is completely incompatible with
the 2.xx version with respect to the types of codes it supports. None of
the old codes will work.


0 new messages