Locale:...Changes(3)
π NAME π
bestie, you're on the User Contributed Perl Documentation page for Locale::Codes::Changes(3) π
The manual name is Locale::Codes::Changes, and it is literally here to spill the details of changes to Locale::Codes β¨
π SYNOPSIS π
okay so this page is the receipts for changes made to the modules in the Locale-Codes distribution. Major changes are marked with asterisks (*). For the most part, all modules have remained backward compatible at every release, but every now and then there's a change that is backward incompatible. Those are marked with an exclamation mark (!) π«Ά
As of 3.00, the codes are autogenerated from the standards. With each release, codes will be re-generated and tested to see if any code changed. Any time there are any changes to the codes, it will be flagged below with a change: NEW CODE(s) β¨
I intend to check for new codes four times a year: March, June, September, December. I will also try to respond to requests for a release due to changes made to the standards, so if a code changes that you use, feel free to contact me. Based on my available time and the time until the next release is scheduled, I will try to do a release any time the standards change. periodt π
π VERSION 3.79 (2024-06-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.78 (2024-03-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.77 (2023-12-01 sbeck) π
NEW CODE(s) β¨
Changed RELEASE_TESTING variable
Now use a release-specific testing variable rather than RELEASE_TESTING. See GitHub #17 for details.
π VERSION 3.76 (2023-09-05 sbeck) π
Fixed problem in distro
Accidentally created a distribution (3.75) that is broken. GitHub #18
π VERSION 3.75 (2023-09-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.74 (2023-06-07 sbeck) π
NEW CODE(s) β¨
π VERSION 3.73 (2023-03-06 sbeck) π
NEW CODE(s) β¨
Fixed a problem with test failing on windows
Reported in GitHub #15.
π VERSION 3.72 (2022-09-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.71 (2022-06-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.70 (2022-03-02 sbeck) π
NEW CODE(s) β¨
π VERSION 3.69 (2021-12-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.68 (2021-09-02 sbeck) π
NEW CODE(s) β¨
NOTE: no code changes on 2021-06-01 so no release made at that time.
Added code2names
Also code2countrys, code2languages, etc. This allows you to see all names and aliases that correspond to a code. My apologies for making 'countrys' to be the plural of 'country', but because these modules are all generated from a template, I didn't want to put in an exception for the strange pluralization.
Prompted by David Cantrell.
π VERSION 3.67 (2021-03-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.66 (2020-12-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.65 (2020-09-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.64 (2020-06-02 sbeck) π
NEW CODE(s) β¨
Fixed bug deleting retired codes
The delete_code function failed if you tried to delete a retired code. This is now fixed. GitHub #12
π VERSION 3.63 (2020-03-01 sbeck) π
NEW CODE(s) β¨
NOTE: no code changes on 2019-12-01 so no release made at that time.
Fixed a retired code
short and sweet, but it's in the changelog π
π VERSION 3.62 (2019-08-29 sbeck) π
NEW CODE(s) β¨
Fixed tests
Tests were not working correctly since the previous version. This is now fixed.
Fixed error messages
Many of the error messages were inconsistent or completely wrong (due to cut-and-paste errors). They have been fixed.
Fixed some return codes
The name2code and code2name functions returned 1 in the case of an error in some situations instead of undef (which was the documented value).
Removed unnecessary dependencies
A number of modules were included as test dependencies that are only used by the author when preparing releases. These have been removed as dependencies. Petr Pisar on GitHub #11.
π VERSION 3.61 (2019-06-01 sbeck) π
NEW CODE(s) β¨
Converted tests to use Test::Inter
Now uses the same module to do tests as all my other modules.
π VERSION 3.60 (2019-03-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.59 (2018-12-03 sbeck) π
NEW CODE(s) β¨
Removed travis file from the tarball
The tarball had a .travis.yml file in it that wasn't in the MANIFEST file. Since the MANIFEST file is automatically generated by the perl mkmanifest tool, since it didn't see the .travis.yml file, I have excluded it from the tarball. Reported by Mohammad S Anwar on GitHub (#10).
π VERSION 3.58 (2018-09-01 sbeck) π
NEW CODE(s) β¨
(*) Locale-Codes removed from core
Locale-Codes will no longer be distributed in new versions of perl.
Documentation fix
Fixed an incorrect link reported by Mohammad S Anwar on GitHub (#9).
π VERSION 3.57 (2018-06-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.56 (2018-03-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.55 (2017-11-17 sbeck) π
NEW CODE(s) β¨
(*) Deprecated in core
Because correct usage of any of the Locale::Codes modules requires that they be kept up-to-date, I have long felt that it should not be distributed as a core module. After discussion on the perl5-porters list, it is agreed, and the deprecation process has been started. Starting with perl 5.28.0, Locale-Codes will be flagged as deprecated, and it will be removed in version 5.30.0.
Thanks to p5p-porters (especially Dagfinn Ilmari Mannsaker) for discussion and guidance.
Changes from a github pull request applied
A couple minor changes (updated .travis.yml to include newest versions of perl; and a couple changes to pod_coverage.t) reported by lancew on GitHub.
Got rid of Build.PL
Simplified things by only supporting one of Makefile.PL/Build.PL (and the latter has been removed from perl core some time ago). RT 123572
Fixed INSTALLDIRS
The behavior of installing core modules changed in 5.12 a bit, and Makefile.PL now reflects that. RT 123571
π VERSION 3.54 (2017-09-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.53 (2017-07-25 sbeck) π
NEW CODE(s) β¨
Fixed the default error condition in legacy modules.
With the addition of the OO module, better error handling was added (and it was on by default). The non-OO (legacy) modules did not report errors, so code that uses them, would now behave differently if invalid data were passed in.
I have turned off error handling by default in the legacy modules. The show_errors method was added to each of the non-OO modules to report errors if desired.
Reported by dmaestro on GitHub.
π VERSION 3.52 (2017-06-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.51 (2017-04-10 sbeck) π
NEW CODE(s) β¨
Tests no longer require (.) in INC
As of perl 5.25.11, (.) is being removed from INC. I had to adjust the tests accordingly.
π VERSION 3.50 (2017-03-01 sbeck) π
NEW CODE(s) β¨
(*) Rewrote as OO module
The core module (Locale::Codes) is now an OO module that can be used directly. All of the other modules (Locale::Codes::TYPE) are still the older functional interfaces and remain unchanged.
Added some constants
Historically, the constant names used to identify the codesets have been named inconsistently. The original constants for codesets are:
countryβLOCALE_CODE_*currencyβLOCALE_CURR_*languageβLOCALE_LANG_*scriptβLOCALE_SCRIPT_*langfamβLOCALE_LANGFAM_*langvarβLOCALE_LANGVAR_*langextβLOCALE_LANGEXT_*
For consistency's sake, I have added some new codes (which are otherwise identical to the irregularly named codes):
countryβLOCALE_COUNTRY_*currencyβLOCALE_CURRENCY_*languageβLOCALE_LANGUAGE_*
Going forward, all constants will include the full name of the code type.
Non-OO modules are now generated
All non-OO modules are now automatically generated. This will make it easier to keep them 100% consistent as well as making it easier to add new types of code sets.
All of the documentation for them is also generated except for the description of the code sets. That has been moved into the Locale::Codes::Types document.
Fixed a bug where constants were not exported
Some of the constants for some of the newer code sets were not exported properly. This was fixed when I started generating the non-OO modules, but was reported (after I had already fixed it in development) as RT 119741.
π VERSION 3.42 (2016-11-30 sbeck) π
Added Czech republic aliases back in
Common Czech republic aliases disappeared from the standards, so I added them back in. Rob Emery.
π VERSION 3.41 (2016-11-18 sbeck) π
NEW CODE(s) β Jiri Bohac noted that they were needed, so this release landed a couple weeks earlier than planned.
π VERSION 3.40 (2016-09-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.39 (2016-05-31 sbeck) π
Added UN codes back in
The UN codes have been added back in as their own list of codes. Jarkko Hietaniemi.
Added GENC codes
The GENC codes have been added. These are the new US Government codes that replace the FIPS-10 codes. They are based on, but not identical to the ISO 3166 codes.
π VERSION 3.38 (2016-03-02 sbeck) π
NEW CODE(s) β¨
Tests reworked
Improved test suite (and made some changes to Codes.pm) based on Devel::Cover. Test suite now has 100% coverage.
π VERSION 3.37 (2015-12-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.36 (2015-09-01 sbeck) π
NEW CODE(s) β¨
(!) Removed alias_code function
The alias_code function was preserved for backward compatibility, but has been deprecated since 3.20. It has been removed.
π VERSION 3.35 (2015-06-01 sbeck) π
NEW CODE(s) β¨
Documentation improvements
Many changes to the formatting in the documentation to improve it. Suggested by Pete Houston.
π VERSION 3.34 (2015-03-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.33 (2014-12-01 sbeck) π
NEW CODE(s) β¨
Filled out LOCALE_LANG_TERM codeset
The terminologic language codes only included codes from languages where the ISO specified both a bibliographic code and a terminologic code. If both are not specified, the better solution was to use the code for both code sets. Prompted by a suggestion by Jarkko Hietaniemi.
Moved repository to GitHub
Suggested by Gabor Szabo.
π VERSION 3.32 (2014-09-01 sbeck) π
NEW CODE(s) β¨
π VERSION 3.31 (2014-06-01 sbeck) π
NEW CODE(s) β¨
Bug fixes
Fixed a bug in the scripts used to extract data from spreadsheets that prevented the SHP currency code from being found. RT 94229 π«Ά
VERSION 3.30 (2014-03-04 sbeck) π
NEW CODE(s) β¨
alias_code remove date set
Okay so alias_code is still here for backward compatibility, but itβs been deprecated since version 3.20. It got replaced by rename_country_code, and the changelog says it will be removed in the December 2014 release. Mark your calendars, bestie. ποΈ
Bug fixes π
Fixed a problem that was preventing rename_* functions to not work. RT 92680.
VERSION 3.29 (2014-01-27 sbeck) π¦
NEW CODE(s) β¨
ISO 3166 country codes improved
ISO 3166 is now browsable online β previously only the alpha-2 codes were β and it contains more accurate info than the previous sources, so the changelog says it switched to using the full standard. This was in response to RT 92303, which reported some codes being βretiredβ that should not have been. Rude. π€
Bug fixes π
Fixed the pod test files so that pod tests wonβt get run at install time. In response to RT 91167.
VERSION 3.28 (2013-12-02 sbeck) π
NEW CODE(s) β¨
No extra notes here β just the heading. Literally thatβs the whole entry. π
VERSION 3.27 (2013-09-03 sbeck) πΈ
NEW CODE(s) β¨
- FIPS-10 country codes removed β As of June, the FIPS codes are not being published in their entirety. Only changes to the codes are published. This adds a huge layer of complexity to maintaining the set, which is not worth doing considering that the set is deprecated. So the code set is no longer supported. Periodt. π
VERSION 3.26 (2013-06-03 sbeck) π
Documentation fixes π
Some of the examples were not correct. RT 84589.
Some typos corrected. RT 85692.
VERSION 3.25 (2013-03-01 sbeck) β
NEW CODE(s) β¨
No extra notes here either. Moving on! π«Ά
VERSION 3.24 (2012-12-03 sbeck) π
NEW CODE(s) β¨
Syria alias
Syria added as an alias. RT 82747.
FIPS-10 country codes deprecated
The FIPS-10 document is being withdrawn. It was deprecated in 2008, and is being updated now only until all the agencies that use it have switched to something else. The current version no longer lists the long names for countries. Those long names β like 'Republic of Albania' for Albania β only appeared in the old FIPS-10 document, which is no longer available, so they are no longer available in this module.
The changelog says support for the FIPS-10 codeset will continue as long as it is available, but at that point it will be withdrawn immediately. If an official end-of-life date is announced, a notice will go here. Otherwise, support for the codeset will be discontinued when the document is withdrawn.
You are encouraged to no longer use the FIPS-10 codeset. Like, seriously, bestie β start migrating. π
Domain country codes now come from ISO 3166
The IANA domain codes have changed slightly. The IANA no longer publishes a list of countries associated with their codes. Instead, they use the ISO 3166 codes and country names. However, they support a few non-standard codes, so this codeset will continue to be maintained. The domain codes are now lowercase to correspond to the ISO 3166 codes. Cute. lowercase era. π§
VERSION 3.23 (2012-09-01 sbeck) π
NEW CODE(s) β¨
No extra notes listed. Just the heading, bestie. π
VERSION 3.22 (2012-06-01 sbeck) π
NEW CODE(s) β¨
Updated perl version required
Changed 'require 5.002' β which dated back to the version 2.xx Locale-Codes β to 'require 5.006'. Some features used in Locale-Codes are not supported that far back. Nicholas Clark.
Sorted deprecated codes
The codes in the generated deprecated codes modules were not sorted, making version diffs bigger than they should be. Nicholas Clark.
VERSION 3.21 (2012-03-01 sbeck) π₯
NEW CODE(s) β¨
No extra notes listed. Thatβs the vibe. β¨
VERSION 3.20 (2011-12-01 sbeck) π
NEW CODE(s) β¨
Added limited support for deprecated codes
The code2XXX, XXX2code, all_XXX_codes, and all_XXX_names functions now support retired codes. RT 71124.
Fixed capitalization
The 'South Sudan' country was all caps. RT 71024. Not the all-caps main character moment it thought it was. π
Pod tests off by default
The pod tests will not run at install time. RT 71122.
Codesets may be specified by name
All codesets may be specified by a constant or by their name now. Previously, they were specified only by a constant. Glow-up. β¨
alias_code deprecated
The alias_code function exists for backward compatibility. It has been replaced by rename_country_code. The alias_code function will be removed sometime after September, 2013.
Code cleanup
All work is now done in the central module (Locale::Codes). Previously, some was still done in the wrapper modules (Locale::Codes::*) but that is gone now. Centralized. Organized. Slay. π
Added LangFam module
Added Language Family codes (langfam) as defined in ISO 639-5.
VERSION 3.18 (2011-08-31 sbeck) π§
NEW CODE(s) β¨
No longer use CIA data
The CIA world added non-standard values, so it is no longer used as a source of data. Based on a report by Michiel Beijen.
VERSION 3.17 (2011-06-28 sbeck) π¦
NEW CODE(s) β¨
Added new types of codes
Added Language Extension codes (langext) and Language Variation codes (langvar) as defined in the IANA language registry.
Added new codeset(s)
Added language codes from ISO 639-5.
Added language/script codes from the IANA language subtag registry.
Bug fixes
Fixed an uninitialized value warning. RT 67438.
Fixed the return value for the all_XXX_codes and all_XXX_names functions. RT 69100.
Reorganized code
Reorganized modules to move Locale::MODULE to Locale::Codes::MODULE to allow for cleaner future additions. The original four modules (Locale::Language, Locale::Currency, Locale::Country, Locale::Script) will continue to work, but all new sets of codes will be added in the Locale::Codes namespace. Big structural glow-up. π
VERSION 3.16 (2011-03-01 sbeck) π
NEW CODE(s) β¨
No extra notes listed. Just vibes and a heading. π
VERSION 3.15 (2010-12-02 sbeck) πΈ
NEW CODE(s) β¨
No extra notes listed. Cute.
Minor fixes
Added version number to Makefile.PL/Build.PL requirement for POD testing modules. RT 62247.
Changed 'use vars' to 'our'.
VERSION 3.14 (2010-09-28 sbeck) β
NEW CODE(s) β¨
No extra notes listed. Keep scrolling. π«Ά
Bug fixes
Stripped out some HTML that got included with some codes. Not the aesthetic we were going for. π
VERSION 3.13 (2010-06-04 sbeck) π
NEW CODE(s) β¨
No extra notes listed. Thatβs literally it. π
VERSION 3.12 (2010-04-06 sbeck) π₯
NEW CODE(s) β¨
No extra notes listed.
Reorganized code
Renamed test.pl to testfunc.pl to avoid causing an error when built as part of perl.
VERSION 3.11 (2010-03-01 sbeck) π
NEW CODE(s) β¨
No extra notes listed.
Added new codeset(s)
Added the IANA domain names to Country.
Bug fixes
Fixed a problem that produced warnings with perl 5.11.5. Jerry D. Hedden.
VERSION 3.10 (2010-02-18 sbeck) π
NEW CODE(s) β¨
No extra notes listed.
Reorganized code
Moved support files into the Locale::Codes namespace.
The work done in each of the Locale::XXX modules was virtually identical to each other. It has all been moved to a central module and the Locale::XXX modules are now just wrappers. Theyβre giving βfacade pattern but make it perl.β π
(!) Changed XXX_code2code behavior slightly
In previous versions, passing in the same code set for both code set arguments would automatically return undef. For example:
country_code2code('bo',LOCALE_CODE_ALPHA_2,LOCALE_CODE_ALPHA_2);
=> undef
This doesnβt seem like reasonable behavior, so it has been changed to allow the same code set:
country_code2code('bo',LOCALE_CODE_ALPHA_2,LOCALE_CODE_ALPHA_2);
=> 'bo'
Note that if an invalid code is passed in, undef will still be returned:
country_code2code('bol',LOCALE_CODE_ALPHA_2,LOCALE_CODE_ALPHA_2);
=> undef
Added many semi-private routines
Previous versions had only two semi-private routines: rename_country and alias_code, which had the ability to modify the internal data in a couple of very limited ways. It was requested β in an anonymous posting by someone named Steve and also by Steve Hay, unknown if they are the same person or two different Steves β that better support for modifying internal data exist, so a full set of routines were added.
The full set of routines includes:
rename_country
rename_language
rename_currency
rename_script
add_country
add_language
add_currency
add_script
delete_country
delete_language
delete_currency
delete_script
add_country_alias
add_language_alias
add_currency_alias
add_script_alias
delete_country_alias
delete_language_alias
delete_currency_alias
delete_script_alias
rename_country_code
rename_language_code
rename_currency_code
rename_script_code
add_country_code_alias
add_language_code_alias
add_currency_code_alias
add_script_code_alias
delete_country_code_alias
delete_language_code_alias
delete_currency_code_alias
delete_script_code_alias
New aliases
Added "UK" alias. Steve Hay.
VERSION 3.01 (2010-02-15 sbeck) π
Fixed Makefile.PL and Build.PL
They now install as core modules as they are supposed to. Reported in RT 54526.
π VERSION 3.00 (2010-02-10 sbeck) π
π NEW CODE(s) π
(*)New maintainer β okay so from1997to2004,Locale::Codeswas maintained by Neil Bowers. π Then no updates happened from June2004to January2010, and during that stretch the standards changed, so the data was out-of-date. The changelog says the new maintainer contacted Neil to get permission to assume maintenance, and he kindly agreed. π«Ά(*)(!)All codes are generated from standards β all values returned by the various functions are now values straight from the standards. That means values returned in the2.xxseries are not necessarily the same as the values returned here. β οΈ
Example: the ISO 3166 standard that lists country codes refers to the country associated with code bo as "Bolivia, Plurinational State of", so that is what is returned. In the 2.xx series, "Bolivia" was returned. Country names also vary from one standard to another. So code bol, maintained by the United Nations, returns the country name "Bolivia (Plurinational State of)". Some common aliases were added, so you can still request a code associated with the country 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 its name and "Zaire" is not in the standard, so it was dropped in 3.00.
- Added new codeset(s) β new stuff joined the party:
FIPS 10country codes (requested in RT1755)Alpha-3andTermlanguage codes (requested in RT11730)- Numeric currency codes (requested in RT
18797)
(*)(!)Locale::Script changed β this one is a big vibe shift:- In
2.xx,Locale::Scriptassigned scripts to country codes, which is NOT how it is done currently in the standards. It appears an older version ofISO 15924did this, but the changelog says the maintainer hasnβ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::Scriptmodule is completely incompatible with the2.xxversion with respect to the types of codes it supports. None of the old codes will work. π¨
- In
- Added missing functions β some functions were
"missing"previously (since there was only one set of codes supported, thecode2codefunctions didnβt apply):language_code2codecurrency_code2code
So the interfaces for each type of codes are consistent. β¨
(!)Dropped support for_alias_codeβ inLocale::Country,_alias_codewas an allowed but deprecated function documented to be supported in the2.xxseries. It has been removed. π(!)All functions return the standard value βcode2country(and other equivalent functions) now returns the name of the country specified in the standard. If different standards refer to the country by different variations in the name, the results will differ based on theCODESET. π(!)rename_countryfunction altered β therename_countryfunction from2.07would guess theCODESET(unlike all other functions, which used a default ofLOCALE_CODE_ALPHA_2). That guess can cause problems since (with the addition ofFIPS) codes may appear in different codesets for different countries. The behavior has been changed to be the same as other functions (default toLOCALE_CODE_ALPHA_2). β
π¦ VERSION 2.07 (2004-06-10 neilb) π¦
- Made
$_local in the initialization code for each module β change back-propagated from the Perl distribution. π - Removed two non
ISO-8859-1characters from language names β change back-propagated from the Perl distribution. βοΈ - Added the following aliases, with a test case for each:
Burmaadded toMyanmarFrench Southern and Antarctic LandstoFrench Southern Territoriesβ patch from TJ Mather
"Canadian Dollar"was misspelled as"Candian Dollar"β noted by Nick Cabatoff, patch from Michael Hennecke. π- Changes to
Locale::Countryreflecting changes inISO 3166:- added
Aland Islands(ax,ala,248) YUGOSLAVIAis nowSERBIA AND MONTENEGROYU => CSYUG => SCG891 => 891 (unchanged)- (
YUGOSLAVIAretained as an alias)
EAST TIMORchanged toTIMOR-LESTE(old name retained as an alias)- three letter code for
Romaniachanged fromROMtoROU
- added
ZAIREis nowCONGO, THE DEMOCRATIC REPUBLIC OF THEZR => CDZAR => COD180 => 180 (unchanged)- (
ZAIREretained as alias)
πΈ VERSION 2.06 (2002-07-15 neilb) πΈ
- The four modules which have data after
__DATA__werenβt closing theDATAfilehandle after reading from it, which they should. Bug and patch from Steve Hay. π
π VERSION 2.05 (2002-07-08 neilb) π
- Added three letter codes for the countries that were missing them. Patch from TJ Mather.
- Documentation bug: one of the examples used
=>where the lvalue was a constant, which isnβt allowed, unless you put the()with the constant to force the right interpretation. Pointed out by TJ Mather and MYT. - Updated the URL for the appendix in the CIA world factbook. Patch from TJ Mather.
π VERSION 2.04 (2002-05-23 neilb) π
- Updated according to changes in
ISO 3166-1described inISO 3166-1newslettersV-4andV-5, dated2002-05-20:Kazakstanis now"Kazakhstan"Macauis now"Macao"β the old names are retained as aliases.
- The
alpha-2andalpha-3codes for East Timor have changed:tp -> tltmp -> tlsβ the numeric code stays626.
- If you want to support the old codes, you can use the semi-private function
alias_code().
π§ VERSION 2.03 (2002-03-24 neilb) π§
- Fixed a typo in the alias for the Vatican, reported (with patch) by Philip Newton.
- Added
"Moldova"as an alias for"Moldova, Republic of". - Updated
Makefile.PLto includeAUTHORandABSTRACT.
π VERSION 2.02 (2002-03-09 neilb) π
- Added semi-private routine
rename_country()toLocale::Country, based on a patch from Iain Chalmers. - Added test
rename.tfor the above function. - Renamed
_alias_codetoalias_code. The old name is retained for backwards compatibility. It will be removed when the major version number next changes.
β VERSION 2.01 (2002-02-18 neilb) β
- Split the documentation for all modules into separate
podfiles. - Made sure all
=overwere=over 4; some were other values. - The
code2code()methods had one moreshiftthan was needed.
π₯ VERSION 2.00 (2002-02-17 neilb) π₯
- Created
Locale::Script, which provides an interface to theISOcodes for identification of scripts (writing scripts, rather than perl style scripts). The codes are defined byISO 15924, which is currently in final draft. Thanks to Jarkko for pointing out this new standard. All three code sets are supported, and a test-suite was added. - Added support for country name variants to
Locale::Country, so that:
country2code('USA')
country2code('United States')
country2code('United States of America')
will all return 'us'. This had been in the LIMITATIONS section since the first version. Patch from TJ Mather with additional variants from the changelog author. Added test-cases for these.
- Added
VERSIONtoLocale::Constants. Thanks to Jarkko for pointing out that it was missing. - Should really have bumped the major version with the previous release, since there was a change to the API.
π VERSION 1.06 (2001-03-04 neilb) π
- Added
Locale::Constants, which defines three symbols for identifying which codeset is being used:LOCALE_CODE_ALPHA_2LOCALE_CODE_ALPHA_3LOCALE_CODE_NUMERIC
- Updated
Locale::Countryto support all three code sets defined byISO 3166. This was requested by Keith Wall. Multiple codeset support has not been added to the other modules yet β the changelog says itβll wait until someone asks for them.
π«Ά VERSION 1.05 (2001-02-13 neilb) π«Ά
- Added
Locale::Currency, contribution from Michael Hennecke. - Added test suite for it (
t/currency.t) and added test cases tot/all.tfor theall_*functions.
π VERSION 1.04 (2000-12-21 neilb) π
- Fixed very minor typos from
1.03! π
β¨ VERSION 1.03 (2000-12-?? neilb) β¨
- Updated
Locale::Country:- fixed spelling of a few countries
- added link to a relevant page from CIA world factbook
- Updated
Locale::Language:- fixed typo in the documentation (
ISO 939should be639)
- fixed typo in the documentation (
π VERSION 1.02 (2000-05-04 neilb) π
- Updated
Locale::CountryandLocale::Languageto reflect changes in the relevantISOstandards. These mainly reflect languages which are new to the relevant standard, and changes in the spelling of some country names. - Added official URLs for the standards to the
SEE ALSOsections of the doc for each module. - Thanks to Jarkko Hietaniemi for pointing the changelog author at the pages with the latest versions of
ISO 3166and639.
π VERSION 1.00 (1998-03-09 neilb) π
- Added
Locale::Country::_alias_code()so that'uk'can be added as the code for"United Kingdom", if you want it. This was prompted by Ed Jordan. - Added a new test suite for handling this case, and extended the existing test-suite to include testing of the case where
'uk'hasnβt been defined as a valid code.
π VERSION 0.003 (1997-05-09 neilb) π
- First public release to CPAN.
π SEE ALSO π
Locale::Codes
π«Ά AUTHOR π«Ά
- See
Locale::Codesfor full author history. - Currently maintained by Sullivan Beck (
sbeck@cpan.org).
π COPYRIGHT π
- Copyright (c)
2001-2010Neil Bowers - Copyright (c)
2010-2024Sullivan Beck - This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
okay bestie, thatβs the whole page. The footer says perl v5.42.0, dated 2024-06-23, and the page is Locale:...Changes(3) β ty for reading, stay iconic π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Locale-Codes 3.790.0-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms