|
Packit |
f3e6b9 |
Currently maintained by:
|
|
Packit |
f3e6b9 |
Sullivan Beck (sbeck@cpan.org)
|
|
Packit |
f3e6b9 |
Any suggestions, bug reports, or donations :-) should be sent to me.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
This document is automatically generated from the document:
|
|
Packit |
f3e6b9 |
Locale::Codes::Changes
|
|
Packit |
f3e6b9 |
and that document should be considered the canonical source of change
|
|
Packit |
f3e6b9 |
related information.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.57 2018-06-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.56 2018-03-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.55 2017-11-17 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- (*) Deprecated in core
|
|
Packit |
f3e6b9 |
Because correct usage of any of the Locale::Codes modules requires
|
|
Packit |
f3e6b9 |
that they be kept up-to-date, I have long felt that it should not be
|
|
Packit |
f3e6b9 |
distributed as a core module. After discussion on the perl5-porters
|
|
Packit |
f3e6b9 |
list, it is agreed, and the deprecation process has been started.
|
|
Packit |
f3e6b9 |
Starting with perl 5.28.0, Locale-Codes will be flagged as deprecated,
|
|
Packit |
f3e6b9 |
and it will be removed in version 5.30.0 .
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Thanks to p5p-porters (especially Dagfinn Ilmari Mannsaker) for
|
|
Packit |
f3e6b9 |
discussion and guidance.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Changes from a github pull request applied
|
|
Packit |
f3e6b9 |
A couple minor changes (updated .travis.yml to include newest
|
|
Packit |
f3e6b9 |
versions of perl; and a couple changes to pod_coverage.t) reported
|
|
Packit |
f3e6b9 |
by lancew on GitHub.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Got rid of Build.PL
|
|
Packit |
f3e6b9 |
Simplified things by only supporting one of Makefile.PL/Build.PL
|
|
Packit |
f3e6b9 |
(and the latter has been removed from perl core some time ago). RT
|
|
Packit |
f3e6b9 |
123572
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Fixed INSTALLDIRS
|
|
Packit |
f3e6b9 |
The behavior of installing core modules changed in 5.12 a bit, and
|
|
Packit |
f3e6b9 |
Makefile.PL now reflects that. RT 123571
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.54 2017-09-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.53 2017-07-25 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Fixed the default error condition in legacy modules.
|
|
Packit |
f3e6b9 |
With the addition of the OO module, better error handling was added
|
|
Packit |
f3e6b9 |
(and it was on by default). The non-OO (legacy) modules did not
|
|
Packit |
f3e6b9 |
report errors, so code that uses them, would now behave differently
|
|
Packit |
f3e6b9 |
if invalid data were passed in.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
I have turned off error handling by default in the legacy modules.
|
|
Packit |
f3e6b9 |
The show_errors method was added to each of the non-OO modules to
|
|
Packit |
f3e6b9 |
report errors if desired.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Reported by dmaestro on GitHub.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.52 2017-06-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.51 2017-04-10 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Tests no longer require (.) in INC
|
|
Packit |
f3e6b9 |
As of perl 5.25.11, (.) is being removed from INC. I had to adjust
|
|
Packit |
f3e6b9 |
the tests accordingly.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.50 2017-03-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- (*) Rewrote as OO module
|
|
Packit |
f3e6b9 |
The core module (Locale::Codes) is now an OO module that can be used
|
|
Packit |
f3e6b9 |
directly. All of the other modules (Locale::Codes::TYPE) are still
|
|
Packit |
f3e6b9 |
the older functional interfaces and remain unchanged.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Added some constants
|
|
Packit |
f3e6b9 |
Historically, the constant names used to identify the codesets have
|
|
Packit |
f3e6b9 |
been named inconsistently. The original constants for codesets are:
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Type Constants
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
country LOCALE_CODE_*
|
|
Packit |
f3e6b9 |
currency LOCALE_CURR_*
|
|
Packit |
f3e6b9 |
language LOCALE_LANG_*
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
script LOCALE_SCRIPT_*
|
|
Packit |
f3e6b9 |
langfam LOCALE_LANGFAM_*
|
|
Packit |
f3e6b9 |
langvar LOCALE_LANGVAR_*
|
|
Packit |
f3e6b9 |
langext LOCALE_LANGEXT_*
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
For consistencies sake, I have added some new codes (which are
|
|
Packit |
f3e6b9 |
otherwise identical to the irregularly named codes):
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
country LOCALE_COUNTRY_*
|
|
Packit |
f3e6b9 |
currency LOCALE_CURRENCY_*
|
|
Packit |
f3e6b9 |
language LOCALE_LANGUAGE_*
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Going forward, all constants will include the full name of the code
|
|
Packit |
f3e6b9 |
type.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Non-OO modules are now generated
|
|
Packit |
f3e6b9 |
All non-OO modules are now automatically generated. This will make
|
|
Packit |
f3e6b9 |
it easier to keep them 100% consistent as well as making it easier
|
|
Packit |
f3e6b9 |
to add new types of code sets.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
All of the documentation for them is also generated except for the
|
|
Packit |
f3e6b9 |
description of the code sets. That has been moved into the
|
|
Packit |
f3e6b9 |
Locale::Codes::Types document.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Fixed a bug where constants were not exported
|
|
Packit |
f3e6b9 |
Some of the constants for some of the newer code sets were not
|
|
Packit |
f3e6b9 |
exported properly. This was fixed when I started generating the
|
|
Packit |
f3e6b9 |
non-OO modules, but was reported (after I had already fixed it in
|
|
Packit |
f3e6b9 |
development) as RT 119741 .
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.42 2016-11-30 sbeck
|
|
Packit |
f3e6b9 |
- Added Czech republic aliases back in
|
|
Packit |
f3e6b9 |
Common Czech republic aliases disappeared from the standards, so I
|
|
Packit |
f3e6b9 |
added them back in. Rob Emery
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.41 2016-11-18 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
Jiri Bohac noted that they were needed so this was release a couple
|
|
Packit |
f3e6b9 |
weeks earlier than planned.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.40 2016-09-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.39 2016-05-31 sbeck
|
|
Packit |
f3e6b9 |
- Added UN codes back in
|
|
Packit |
f3e6b9 |
The UN codes have been added back in as their own list of codes.
|
|
Packit |
f3e6b9 |
Jarkko Hietaniemi
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Added GENC codes
|
|
Packit |
f3e6b9 |
The GENC codes have been added. These are the new US Government
|
|
Packit |
f3e6b9 |
codes that replace the FIPS-10 codes. They are based on, but not
|
|
Packit |
f3e6b9 |
identical to the ISO 3166 codes.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.38 2016-03-02 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Tests reworked
|
|
Packit |
f3e6b9 |
Improved test suite (and made some changes to Codes.pm) based on
|
|
Packit |
f3e6b9 |
Devel::Cover. Test suite now has 100% coverage.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.37 2015-12-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.36 2015-09-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- (!) Removed alias_code function
|
|
Packit |
f3e6b9 |
The alias_code function was preserved for backward compatibility,
|
|
Packit |
f3e6b9 |
but has been deprecated since 3.20. It has been removed.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.35 2015-06-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Documentation improvements
|
|
Packit |
f3e6b9 |
Many changes to the formatting in the documentation to improve it.
|
|
Packit |
f3e6b9 |
Suggested by Pete Houston.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.34 2015-03-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.33 2014-12-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Filled out LOCALE_LANG_TERM codeset
|
|
Packit |
f3e6b9 |
The terminologic language codes only included codes from languages
|
|
Packit |
f3e6b9 |
where the ISO specified both a bibliographic code and a terminologic
|
|
Packit |
f3e6b9 |
code. If both are not specified, the better solution was to use the
|
|
Packit |
f3e6b9 |
code for both code sets. Prompted by a suggestion by Jarkko
|
|
Packit |
f3e6b9 |
Hietaniemi.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Moved repository to GitHub
|
|
Packit |
f3e6b9 |
Suggested by Gabor Szabo.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.32 2014-09-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.31 2014-06-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Bug fixes
|
|
Packit |
f3e6b9 |
Fixed a bug in the scripts used to extract data from spreadsheets
|
|
Packit |
f3e6b9 |
that prevented the SHP currency code from being found. RT 94229
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.30 2014-03-04 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- alias_code remove date set
|
|
Packit |
f3e6b9 |
The alias_code function exists for backward compatibility. It has
|
|
Packit |
f3e6b9 |
been deprecated since version 3.20 when it was replaced by
|
|
Packit |
f3e6b9 |
rename_country_code. The alias_code function will be removed in the
|
|
Packit |
f3e6b9 |
December 2014 release.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Bug fixes
|
|
Packit |
f3e6b9 |
Fixed a problem that was preventing rename_* functions to not work.
|
|
Packit |
f3e6b9 |
RT 92680.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.29 2014-01-27 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- ISO 3166 country codes improved
|
|
Packit |
f3e6b9 |
ISO 3166 is now browsable online (previously, only the alpha-2 codes
|
|
Packit |
f3e6b9 |
were) and it contains more accurate information than the previous
|
|
Packit |
f3e6b9 |
sources, so I've switched to using the full standard. In response to
|
|
Packit |
f3e6b9 |
RT 92303 which reported some codes being 'retired' that should not
|
|
Packit |
f3e6b9 |
have been.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Bug fixes
|
|
Packit |
f3e6b9 |
Fixed the pod test files so that pod tests won't get run at install
|
|
Packit |
f3e6b9 |
time. In response to RT 91167.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.28 2013-12-02 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.27 2013-09-03 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- * FIPS-10 country codes removed
|
|
Packit |
f3e6b9 |
As of June, the FIPS codes are not being published in their
|
|
Packit |
f3e6b9 |
entirety. Only changes to the codes are published. This adds a huge
|
|
Packit |
f3e6b9 |
layer of complexity to maintaining the set, which is not worth doing
|
|
Packit |
f3e6b9 |
considering that the set is deprecated. As such, the code set is no
|
|
Packit |
f3e6b9 |
longer supported.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.26 2013-06-03 sbeck
|
|
Packit |
f3e6b9 |
- Documentation fixes
|
|
Packit |
f3e6b9 |
Some of the examples were not correct. RT 84589
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Some typos corrected. RT 85692
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.25 2013-03-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.24 2012-12-03 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Syria alias
|
|
Packit |
f3e6b9 |
Syria added as an alias. RT 82747
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- FIPS-10 country codes deprecated
|
|
Packit |
f3e6b9 |
The FIPS-10 document is being withdrawn. It was deprecated in 2008,
|
|
Packit |
f3e6b9 |
and is being updated now only until all the agencies that use it
|
|
Packit |
f3e6b9 |
have switched to something else. The current version no longer lists
|
|
Packit |
f3e6b9 |
the long names for countries. These long names (such as 'Republic of
|
|
Packit |
f3e6b9 |
Albania' for Albania) only appeared in the old FIPS-10 document
|
|
Packit |
f3e6b9 |
which is no longer available, so they are no longer available in
|
|
Packit |
f3e6b9 |
this module.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
I will continue to support the FIPS-10 codeset as long as it is
|
|
Packit |
f3e6b9 |
available, but at that point, it will be withdrawn immediately. If
|
|
Packit |
f3e6b9 |
an official end-of-life date is announced, I will include a notice
|
|
Packit |
f3e6b9 |
here. Otherwise, support for the codeset will be discontinued when
|
|
Packit |
f3e6b9 |
the document is withdrawn.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
You are encouraged to no longer use the FIPS-10 codeset.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Domain country codes now come from ISO 3166
|
|
Packit |
f3e6b9 |
The IANA domain codes have changed slightly. The IANA no longer
|
|
Packit |
f3e6b9 |
publishes a list of countries associated with their codes. Instead,
|
|
Packit |
f3e6b9 |
they use the ISO 3166 codes and country names. However, they support
|
|
Packit |
f3e6b9 |
a few non-standard codes, so I will continue to maintain this
|
|
Packit |
f3e6b9 |
codeset. The domain codes are now lowercase to correspond to the ISO
|
|
Packit |
f3e6b9 |
3166 codes.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.23 2012-09-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.22 2012-06-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Updated perl version required
|
|
Packit |
f3e6b9 |
Changed 'require 5.002' (which dated back to the version 2.xx
|
|
Packit |
f3e6b9 |
Locale-Codes) to 'require 5.006'. Some features used in Locale-Codes
|
|
Packit |
f3e6b9 |
are not supported that far back. Nicholas Clark
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Sorted deprecated codes
|
|
Packit |
f3e6b9 |
The codes in the generated deprecated codes modules were not sorted
|
|
Packit |
f3e6b9 |
making version diffs bigger than they should be. Nicholas Clark
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.21 2012-03-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.20 2011-12-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Added limited support for deprecated codes
|
|
Packit |
f3e6b9 |
The code2XXX, XXX2code, all_XXX_codes, and all_XXX_names functions
|
|
Packit |
f3e6b9 |
now support retired codes. RT 71124
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Fixed capitalization
|
|
Packit |
f3e6b9 |
The 'South Sudan' country was all caps. RT 71024
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Pod tests off by default
|
|
Packit |
f3e6b9 |
The pod tests will not run at install time. RT 71122
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Codesets may be specified by name
|
|
Packit |
f3e6b9 |
All codesets may be specified by a constant or by their name now.
|
|
Packit |
f3e6b9 |
Previously, they were specified only by a constant.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- alias_code deprecated
|
|
Packit |
f3e6b9 |
The alias_code function exists for backward compatibility. It has
|
|
Packit |
f3e6b9 |
been replaced by rename_country_code . The alias_code function will
|
|
Packit |
f3e6b9 |
be removed sometime after September, 2013 .
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Code cleanup
|
|
Packit |
f3e6b9 |
All work is now done in the central module (Locale::Codes).
|
|
Packit |
f3e6b9 |
Previously, some was still done in the wrapper modules
|
|
Packit |
f3e6b9 |
(Locale::Codes::*) but that is gone now.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Added LangFam module
|
|
Packit |
f3e6b9 |
Added Language Family codes (langfam) as defined in ISO 639-5.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.18 2011-08-31 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- No longer use CIA data
|
|
Packit |
f3e6b9 |
The CIA world added non-standard values, so I no longer use it as a
|
|
Packit |
f3e6b9 |
source of data. Based on a report by Michiel Beijen.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.17 2011-06-28 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Added new types of codes
|
|
Packit |
f3e6b9 |
Added Language Extension codes (langext) and Language Variation
|
|
Packit |
f3e6b9 |
codes (langvar) as defined in the IANA language registry.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Added new codeset(s)
|
|
Packit |
f3e6b9 |
Added language codes from ISO 639-5
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Added language/script codes from the IANA language subtag registry
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Bug fixes
|
|
Packit |
f3e6b9 |
Fixed an uninitialized value warning. RT 67438
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Fixed the return value for the all_XXX_codes and all_XXX_names
|
|
Packit |
f3e6b9 |
functions. RT 69100
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Reorganized code
|
|
Packit |
f3e6b9 |
Reorganized modules to move Locale::MODULE to Locale::Codes::MODULE
|
|
Packit |
f3e6b9 |
to allow for cleaner future additions. The original four modules
|
|
Packit |
f3e6b9 |
(Locale::Language, Locale::Currency, Locale::Country,
|
|
Packit |
f3e6b9 |
Locale::Script) will continue to work, but all new sets of codes
|
|
Packit |
f3e6b9 |
will be added in the Locale::Codes namespace.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.16 2011-03-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.15 2010-12-02 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Minor fixes
|
|
Packit |
f3e6b9 |
Added version number to Makefile.PL/Build.PL requirement for POD
|
|
Packit |
f3e6b9 |
testing modules. RT 62247
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Changed 'use vars' to 'our'
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.14 2010-09-28 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Bug fixes
|
|
Packit |
f3e6b9 |
Stripped out some HTML that got included with some codes.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.13 2010-06-04 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.12 2010-04-06 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Reorganized code
|
|
Packit |
f3e6b9 |
Renamed test.pl to testfunc.pl to avoid causing an error when built
|
|
Packit |
f3e6b9 |
as part of perl.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.11 2010-03-01 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Added new codeset(s)
|
|
Packit |
f3e6b9 |
Added the IANA domain names to Country
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Bug fixes
|
|
Packit |
f3e6b9 |
Fixed a problem that produced warnings with perl 5.11.5. Jerry D.
|
|
Packit |
f3e6b9 |
Hedden
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.10 2010-02-18 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Reorganized code
|
|
Packit |
f3e6b9 |
Moved support files into the Locale::Codes namespace.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
The work done in each of the Locale::XXX modules was virtually
|
|
Packit |
f3e6b9 |
identical to each other. It has all been moved to a central module
|
|
Packit |
f3e6b9 |
and the Locale::XXX modules are now just wrappers.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- (!) Changed XXX_code2code behavior slightly
|
|
Packit |
f3e6b9 |
In previous versions, passing in the same code set for both code set
|
|
Packit |
f3e6b9 |
arguments would automatically return undef. For example:
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
country_code2code('bo',LOCALE_CODE_ALPHA_2,LOCALE_CODE_ALPHA_2);
|
|
Packit |
f3e6b9 |
=> undef
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
This doesn't seem like reasonable behavior, so it has been changed
|
|
Packit |
f3e6b9 |
to allow the same code set:
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
country_code2code('bo',LOCALE_CODE_ALPHA_2,LOCALE_CODE_ALPHA_2);
|
|
Packit |
f3e6b9 |
=> 'bo'
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Note that if an invalid code is passed in, undef will still be
|
|
Packit |
f3e6b9 |
returned:
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
country_code2code('bol',LOCALE_CODE_ALPHA_2,LOCALE_CODE_ALPHA_2);
|
|
Packit |
f3e6b9 |
=> undef
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Added many semi-private routines
|
|
Packit |
f3e6b9 |
Previous versions had only two semi-private routines: rename_country
|
|
Packit |
f3e6b9 |
and alias_code which had the ability to modify the internal data in
|
|
Packit |
f3e6b9 |
a couple very limited ways. It was requested (in an anonymous
|
|
Packit |
f3e6b9 |
posting by someone named Steve and also by Steve Hay) that better
|
|
Packit |
f3e6b9 |
support for modifying internal data, so a full set of routines were
|
|
Packit |
f3e6b9 |
added.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
The full set of routines includes:
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
rename_country
|
|
Packit |
f3e6b9 |
rename_language
|
|
Packit |
f3e6b9 |
rename_currency
|
|
Packit |
f3e6b9 |
rename_script
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
add_country
|
|
Packit |
f3e6b9 |
add_language
|
|
Packit |
f3e6b9 |
add_currency
|
|
Packit |
f3e6b9 |
add_script
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
delete_country
|
|
Packit |
f3e6b9 |
delete_language
|
|
Packit |
f3e6b9 |
delete_currency
|
|
Packit |
f3e6b9 |
delete_script
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
add_country_alias
|
|
Packit |
f3e6b9 |
add_language_alias
|
|
Packit |
f3e6b9 |
add_currency_alias
|
|
Packit |
f3e6b9 |
add_script_alias
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
delete_country_alias
|
|
Packit |
f3e6b9 |
delete_language_alias
|
|
Packit |
f3e6b9 |
delete_currency_alias
|
|
Packit |
f3e6b9 |
delete_script_alias
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
rename_country_code
|
|
Packit |
f3e6b9 |
rename_language_code
|
|
Packit |
f3e6b9 |
rename_currency_code
|
|
Packit |
f3e6b9 |
rename_script_code
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
add_country_code_alias
|
|
Packit |
f3e6b9 |
add_language_code_alias
|
|
Packit |
f3e6b9 |
add_currency_code_alias
|
|
Packit |
f3e6b9 |
add_script_code_alias
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
delete_country_code_alias
|
|
Packit |
f3e6b9 |
delete_language_code_alias
|
|
Packit |
f3e6b9 |
delete_currency_code_alias
|
|
Packit |
f3e6b9 |
delete_script_code_alias
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- New aliases
|
|
Packit |
f3e6b9 |
Added "UK" alias. Steve Hay
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.01 2010-02-15 sbeck
|
|
Packit |
f3e6b9 |
- Fixed Makefile.PL and Build.PL
|
|
Packit |
f3e6b9 |
They now install as core modules as they are supposed to. Reported
|
|
Packit |
f3e6b9 |
in RT 54526
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
3.00 2010-02-10 sbeck
|
|
Packit |
f3e6b9 |
- NEW CODE(s)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- (*) New maintainer
|
|
Packit |
f3e6b9 |
From 1997 to 2004, Locale::Codes was maintained by Neil Bowers.
|
|
Packit |
f3e6b9 |
Unfortunately, no updates were made from June 2004 to January 2010.
|
|
Packit |
f3e6b9 |
During that time, a number of changes have been made to the
|
|
Packit |
f3e6b9 |
standards since then, so the data included was out-of-date.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
I contacted Neil to get his permission to assume maintenance of the
|
|
Packit |
f3e6b9 |
module, and he kindly agreed.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- (*) (!) All codes are generated from standards
|
|
Packit |
f3e6b9 |
All of the values returned by the various functions are now values
|
|
Packit |
f3e6b9 |
directly from the standards. This means that the values returned in
|
|
Packit |
f3e6b9 |
the 2.xx series are not necessarily the same as the values returned
|
|
Packit |
f3e6b9 |
here.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
As an example, the ISO 3166 standard which lists country codes
|
|
Packit |
f3e6b9 |
refers to the country associated with the code "bo" as "Bolivia,
|
|
Packit |
f3e6b9 |
Plurinational State of", so that is what is returned. In the 2.xx
|
|
Packit |
f3e6b9 |
series, "Bolivia" was returned. Also, the country names vary from
|
|
Packit |
f3e6b9 |
one standard to another. So the code "bol" which is maintained by
|
|
Packit |
f3e6b9 |
the United Nations returns the name of the country as "Bolivia
|
|
Packit |
f3e6b9 |
(Plurinational State of)". Some common aliases have been added, so
|
|
Packit |
f3e6b9 |
you can still request a code associated with a county name
|
|
Packit |
f3e6b9 |
"Bolivia".
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Since the data comes from the standards, some "incorrect" values are
|
|
Packit |
f3e6b9 |
no longer supported. For example, 2.07 treated "Zaire" as an alias
|
|
Packit |
f3e6b9 |
for "Congo", but the country changed it's name, and "Zaire" is not
|
|
Packit |
f3e6b9 |
in the standard, so it has been dropped in 3.00.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Added new codeset(s)
|
|
Packit |
f3e6b9 |
FIPS 10 country codes (requested in RT 1755)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Alpha-3 and Term language codes (requested in RT 11730)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Numeric currency codes (requested in RT 18797)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- (*) (!) Locale::Script changed
|
|
Packit |
f3e6b9 |
In 2.xx, Locale::Script assigned scripts to country codes, which is
|
|
Packit |
f3e6b9 |
NOT how it is done currently in the standards. It appears that an
|
|
Packit |
f3e6b9 |
older version of ISO 15924 did this, but I haven't found an old
|
|
Packit |
f3e6b9 |
version to confirm that, and in any case, that is not the case in
|
|
Packit |
f3e6b9 |
the current standards.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
As a result, the Locale::Script module is completely incompatible
|
|
Packit |
f3e6b9 |
with the 2.xx version with respect to the types of codes it
|
|
Packit |
f3e6b9 |
supports. None of the old codes will work.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- Added missing functions
|
|
Packit |
f3e6b9 |
I've added in some functions which were "missing" previously (since
|
|
Packit |
f3e6b9 |
there was only one set of codes supported, the code2code functions
|
|
Packit |
f3e6b9 |
didn't apply):
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
language_code2code
|
|
Packit |
f3e6b9 |
currency_code2code
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
so the interfaces for each type of codes are consistent.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- (!) Dropped support for _alias_code
|
|
Packit |
f3e6b9 |
In Locale::Country, _alias_code was an allowed, but deprecated
|
|
Packit |
f3e6b9 |
function which was documented to be supported in the 2.xx series.
|
|
Packit |
f3e6b9 |
I've removed it.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- (!) All functions return the standard value
|
|
Packit |
f3e6b9 |
code2country (and other equivalent functions) now returns the name
|
|
Packit |
f3e6b9 |
of the country specified in the standard (if the different standards
|
|
Packit |
f3e6b9 |
refer to the country by different variations in the name, the
|
|
Packit |
f3e6b9 |
results will differ based on the CODESET)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
- (!) rename_country function altered
|
|
Packit |
f3e6b9 |
The rename_country function from 2.07 would guess the CODESET
|
|
Packit |
f3e6b9 |
(unlike all other functions which used a default of
|
|
Packit |
f3e6b9 |
LOCALE_CODE_ALPHA_2). The guess can cause problems since (with the
|
|
Packit |
f3e6b9 |
addition of FIPS) codes may appear in different codesets for
|
|
Packit |
f3e6b9 |
different countries. The behavior has been changed to be the same as
|
|
Packit |
f3e6b9 |
other functions (default to LOCALE_CODE_ALPHA_2).
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
2.07 2004-06-10 neilb
|
|
Packit |
f3e6b9 |
Made $_ local in the initialization code for each module change
|
|
Packit |
f3e6b9 |
back-propagated from Perl distribution
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Removed two non ISO-8859-1 characters from language names change
|
|
Packit |
f3e6b9 |
back-propagated from Perl distribution
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Added the following aliases, with a test case for each - Burma added
|
|
Packit |
f3e6b9 |
to Myanmar - French Southern and Antarctic Lands to French Southern
|
|
Packit |
f3e6b9 |
Territories patch from TJ Mather
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
"Canadian Dollar" was misspelled as "Candian Dollar" - noted by Nick
|
|
Packit |
f3e6b9 |
Cabatoff, patch from Michael Hennecke
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Changes to Locale::Country reflecting changes in ISO 3166 - added
|
|
Packit |
f3e6b9 |
Aland Islands (ax, ala, 248) - YUGOSLAVIA is now SERBIA AND
|
|
Packit |
f3e6b9 |
MONTENEGRO YU => CS YUG => SCG 891 => 891 (unchanged) (YUGOSLAVIA
|
|
Packit |
f3e6b9 |
retained as an alias) - EAST TIMOR changed to TIMOR-LESTE (old name
|
|
Packit |
f3e6b9 |
retained as an alias) - three letter code for Romania changed from
|
|
Packit |
f3e6b9 |
ROM to ROU
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
ZAIRE is now CONGO, THE DEMOCRATIC REPUBLIC OF THE ZR => CD ZAR =>
|
|
Packit |
f3e6b9 |
COD 180 => 180 (unchanged) (ZAIRE retained as alias)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
2.06 2002-07-15 neilb
|
|
Packit |
f3e6b9 |
The four modules which have data after __DATA__ weren't closing the
|
|
Packit |
f3e6b9 |
DATA filehandle after reading from it, which they should. Bug and
|
|
Packit |
f3e6b9 |
patch from Steve Hay.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
2.05 2002-07-08 neilb
|
|
Packit |
f3e6b9 |
Added three letter codes for the countries that were missing them.
|
|
Packit |
f3e6b9 |
Patch from TJ Mather.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Documentation bug: one of the examples used => where the lvalue was
|
|
Packit |
f3e6b9 |
a constant, which isn't allowed, unless you put the () with the
|
|
Packit |
f3e6b9 |
constant to force the right interpretation. Pointed out by TJ Mather
|
|
Packit |
f3e6b9 |
and MYT.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Updated the URL for the appendix in the CIA world factbook. Patch
|
|
Packit |
f3e6b9 |
from TJ Mather.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
2.04 2002-05-23 neilb
|
|
Packit |
f3e6b9 |
Updated according to changes in ISO 3166-1 described in ISO 3166-1
|
|
Packit |
f3e6b9 |
newsletters V-4 and V-5, dated 2002-05-20: - Kazakstan is now
|
|
Packit |
f3e6b9 |
"Kazakhstan" - Macau is now "Macao" The old names are retained as
|
|
Packit |
f3e6b9 |
aliases.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
The alpha-2 and alpha-3 codes for East Timor have changed: tp -> tl
|
|
Packit |
f3e6b9 |
tmp -> tls the numeric code stays 626. If you want to support the
|
|
Packit |
f3e6b9 |
old codes, you can use the semi-private function alias_code().
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
2.03 2002-03-24 neilb
|
|
Packit |
f3e6b9 |
Fixed a typo in the alias for the Vatican, reported (with patch) by
|
|
Packit |
f3e6b9 |
Philip Newton.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Added "Moldova" as an alias for "Moldova, Republic of"
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Updated Makefile.PL to include AUTHOR and ABSTRACT
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
2.02 2002-03-09 neilb
|
|
Packit |
f3e6b9 |
Added semi-private routine rename_country() to Locale::Country,
|
|
Packit |
f3e6b9 |
based on a patch from Iain Chalmers.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Added test rename.t for the above function.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Renamed _alias_code to be alias_code. Have retained the old name for
|
|
Packit |
f3e6b9 |
backwards compatibility. Will remove it when the major version
|
|
Packit |
f3e6b9 |
number next changes.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
2.01 2002-02-18 neilb
|
|
Packit |
f3e6b9 |
Split the documentation for all modules into separate pod files.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Made sure all =over were =over 4; some were other values.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
The code2code() methods had one more shift than was needed.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
2.00 2002-02-17 neilb
|
|
Packit |
f3e6b9 |
Created Locale::Script which provides an interface to the ISO codes
|
|
Packit |
f3e6b9 |
for identification of scripts (writing scripts, rather than perl
|
|
Packit |
f3e6b9 |
style scripts). The codes are defined by ISO 15924, which is
|
|
Packit |
f3e6b9 |
currently in final draft. Thanks to Jarkko for pointing out this new
|
|
Packit |
f3e6b9 |
standard. All three code sets are supported, and a test-suite added.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Added support for country name variants to Locale::Country, so that
|
|
Packit |
f3e6b9 |
country2code('USA') country2code('United States')
|
|
Packit |
f3e6b9 |
country2code('United States of America') will all return 'us'. This
|
|
Packit |
f3e6b9 |
had been in the LIMITATIONS section since the first version. Patch
|
|
Packit |
f3e6b9 |
from TJ Mather with additional variants from me. Added test-cases
|
|
Packit |
f3e6b9 |
for these.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Added VERSION to Locale::Constants. Thanks to Jarkko for pointing
|
|
Packit |
f3e6b9 |
that it was missing.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Should really have bumped major version with previous release, since
|
|
Packit |
f3e6b9 |
there was a change to the API.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
1.06 2001-03-04 neilb
|
|
Packit |
f3e6b9 |
Added Locale::Constants, which defines three symbols for identifying
|
|
Packit |
f3e6b9 |
which codeset is being used:
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
LOCALE_CODE_ALPHA_2
|
|
Packit |
f3e6b9 |
LOCALE_CODE_ALPHA_3
|
|
Packit |
f3e6b9 |
LOCALE_CODE_NUMERIC
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Updated Locale::Country to support all three code sets defined by
|
|
Packit |
f3e6b9 |
ISO 3166. This was requested by Keith Wall. I haven't added multiple
|
|
Packit |
f3e6b9 |
codeset support to the other modules yet - I'll wait until someone
|
|
Packit |
f3e6b9 |
asks for them.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
1.05 2001-02-13 neilb
|
|
Packit |
f3e6b9 |
Added Locale::Currency, contribution from Michael Hennecke.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Added test suite for it (t/currency.t) and added test cases to
|
|
Packit |
f3e6b9 |
t/all.t for the all_* functions.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
1.04 2000-12-21 neilb
|
|
Packit |
f3e6b9 |
Fixed very minor typos from 1.03!
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
1.03 2000-12-?? neilb
|
|
Packit |
f3e6b9 |
Updated Locale::Country: - fixed spelling of a few countries - added
|
|
Packit |
f3e6b9 |
link to a relevant page from CIA world factbook
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Updated Locale::Language: - fixed typo in the documentation (ISO 939
|
|
Packit |
f3e6b9 |
should be 639)
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
1.02 2000-05-04 neilb
|
|
Packit |
f3e6b9 |
Updated Locale::Country and Locale::Language to reflect changes in
|
|
Packit |
f3e6b9 |
the relevant ISO standards. These mainly reflect languages which are
|
|
Packit |
f3e6b9 |
new to the relevant standard, and changes in the spelling of some
|
|
Packit |
f3e6b9 |
country names.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Added official URLs for the standards to the SEE ALSO sections of
|
|
Packit |
f3e6b9 |
the doc for each module.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Thanks to Jarkko Hietaniemi for pointing me at the pages with latest
|
|
Packit |
f3e6b9 |
versions of ISO 3166 and 639.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
1.00 1998-03-09 neilb
|
|
Packit |
f3e6b9 |
Added Locale::Country::_alias_code() so that 'uk' can be added as
|
|
Packit |
f3e6b9 |
the code for "United Kingdom", if you want it. This was prompted by
|
|
Packit |
f3e6b9 |
Ed Jordan.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
Added a new test suite for handling this case, and extended the
|
|
Packit |
f3e6b9 |
existing test-suite to include testing of the case where 'uk' hasn't
|
|
Packit |
f3e6b9 |
been defined as a valid code.
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
0.003 1997-05-09 neilb
|
|
Packit |
f3e6b9 |
First public release to CPAN
|
|
Packit |
f3e6b9 |
|