custom-cldr-twitch
v2.0.0
Published
Small slices of CLDR data used in Twitch products
Downloads
15
Readme
This project creates assets used for localization from CLDR rules which are used by (mostly front-end) applications.
The expected use of this repo is to create scripts which create subsets of the CLDR data in /dist
, publish the library, and use those subsets in various clients. Add the script to ./src
and to ./src/build-data.sh
so it will be captured during builds.
Currently, this is used for storing the locales used by web-client and CLDR rules for:
- short numbers (12,000 => 12k)
- month-day-year order
locales.json
is a list of the locales supported by Web Client, the Twitch front-end prior to Twilight. It also contains the mapping from short to full locale names.