feat: release v0.26 portable i18n and presentation adapters
This commit is contained in:
19
i18n/cldr/README.md
Normal file
19
i18n/cldr/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Pinned cardinal plural data
|
||||
|
||||
`plurals.json` is copied without modification from Unicode CLDR JSON **46.1.0**:
|
||||
|
||||
https://github.com/unicode-org/cldr-json/blob/46.1.0/cldr-json/cldr-core/supplemental/plurals.json
|
||||
|
||||
The upstream data identifies CLDR version 46 / Unicode 16.0.0. See the accompanying
|
||||
Unicode license. No data is downloaded at application startup or during generation.
|
||||
|
||||
Both Go and the browser evaluate these same rules. Browser packs include only the
|
||||
rules for the exported language and its fallback chain, together with the Unicode
|
||||
license. They do not depend on the
|
||||
browser's built-in `Intl.PluralRules` data version. Language-tag matching is a
|
||||
separate responsibility provided by `golang.org/x/text/language`.
|
||||
|
||||
When updating this data, update `PluralRulesVersion`, preserve the license, and run
|
||||
the upstream-sample and Go/browser conformance tests. This version supports cardinal
|
||||
rules for ordinary numbers; compact-number operands `c`/`e` are zero. Ordinal and
|
||||
compact-number formatting are not part of the v1 message format.
|
||||
Reference in New Issue
Block a user