custom-cldr-twitch

2.0.0 • Public • Published

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.

/custom-cldr-twitch/

    Package Sidebar

    Install

    npm i custom-cldr-twitch

    Weekly Downloads

    0

    Version

    2.0.0

    License

    UNLICENSED

    Unpacked Size

    30 kB

    Total Files

    41

    Last publish

    Collaborators

    • frgjdhskxjogu