Download the PHP package macroactive/cldr without Composer
On this page you can find all versions of the php package macroactive/cldr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download macroactive/cldr
More information about macroactive/cldr
Files in macroactive/cldr
Package cldr
Short Description A lightweight localization database and translation tools, with data from the CLDR, IANA, ISO, etc.
License GPL-3.0-or-later
Homepage https://github.com/macroactive-io/cldr
Informations about the package cldr
This package represents stripped reference data cloned from AWESOME fisharebest/localization. Main difference:
- removed
Translator
- PHP version >= 8.1 for the sake of using strict typing, enums, etc
- obviously, changed NS and package name
Localization standards and data
This package combines localization data from many standards, including the Unicode CLDR, RFC5646 / IANA subtag registry, ISO-3166, ISO-639, ISO-15924, etc., to help you produce applications that behave nicely for visitors from around the world.
Includes definitions for over 800 locales.
Locales, languages, scripts and territories
A locale consists of three things: a language, a script and a territory. Scripts and territories are often implicit from the language.
Normally you would just need to work with locales, and can ignore languages and scripts.
Localization
Create a locale and use it to localize data in your application.
Plural rules
Plural rules are defined for each locale. This example shows that although English and French both have two plural forms, English considers zero as plural, while french considers it to be singular.
Updates welcome
Please provide references to sources, such as: