File: |
src/L10N.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Class source |
Class: |
PHP Common Class Library
Set of classes that provides common functionality |
Author: |
By Caleb |
Last change: |
L10N handler patch.
Changelog excerpt:
- Updated the L10N handler's language rules.
L10N handler update.
Changelog excerpt:
- Added ISO 15924 support to the L10N handler.
Bug-fix.
Changelog excerpt:
- 3-digit and script-based codes not recognised by arrayFromL10nToArray;
Fixed.
L10N handler patch.
CLDR sync.
Checked latest CLDR data; No changes required to the L10N class at this
time, but links updated to reflect the current latest version (43->45).
L10N handler update.
Changelog excerpt:
- The arrayFromL10nToArray method, common to CIDRAM's and phpMussel's
codebases, as well as to the code for the DocGen scripts at both those
projects' documentation repositories, has been integrated to the L10N
handler, so that it can be removed from those codebases, and can instead
be called from the L10N handler, for cleaner/easier maintainability).
L10N handler patch.
Changelog excerpt:
- Preferred variants can now be specified to the L10N handler.
New abstract class.
Changelog excerpt:
- Moved the version constant and the dataTraverse method to an abstract
class, which the other classes can then extend from, due to those being
common to all/most classes in the package.
- Added support for dot notation to the L10N handler.
v2.9.7
Code directionality for pa-PK.
Fix link.
v2.9.6
v2.9.5
L10N handler patch.
Be less wordy.
L10N handler patch.
Changelog excerpt:
- Optionally, the L10N handler can now automatically determine text
directionality for use by the implementation.
v2.9.4
Better defaulting for identical plurals.
Changelog excerpt:
- Improved the defaulting used for missing plurals.
v2.9.3
L10N handler patch (CLDR information changed).
Changelog excerpt:
- Some of the CLDR information provided by Unicode recently changed.
Updated the L10N handler accordingly.
v2.9.2
v2.9.1
L10N patch.
Added Bhojpuri support.
v2.9.0
v2.8.0
L10N handler patch.
Changelog excerpt:
- Added the ability to assign language rules automatically to the L10N
handler.
Use more 'link' tags.
L10N handler patch.
Changelog excerpt:
- Added the ability to the L10N handler to automatically determine
appropriate integer and fraction rules to use based upon a language code
specified.
L10N handler patch.
Fix wrong phpdoc comment.
L10N handler patch.
Changelog excerpt:
- Updated the L10N handler's supported languages and plural rules
documentation.
Code-style cleanup.
- Public before private properties.
- Magic before public before private methods.
Add missing PHPDoc comments.
v2.6.2
Changelog excerpt:
- Allow dots to be escaped for dataTraverse in the operation handler.
Refactor L10N class.
Comment improvements.
Changelog excerpt:
- Improved and refactored some of the docblock comments across all classes.
Add public version constant.
Changelog excerpt:
- Added a public version constant to all classes, since it might be needed
by some implementations to ensure compatibility.
L10N patch.
Changelog excerpt:
- Adjusted the ints returned by L10N's int3Type3 so they'd make more sense.
- Added some more languages to L10N's rules documentation.
Add FUNDING.yml file.
|
Date: |
Less than 1 hour ago |
Size: |
32,439 bytes |
|
|
|