0.2.2 • Published 5 years ago
@kotwys/formatjs-esperanto v0.2.2
Esperanto for FormatJS
This adds Esperanto locale to the FormatJS Intl polyfill.
The polyfill already includes Esperanto locales but they're pulled from Unicode's CLDR repository, which isn't fully translated and therefore includes some dummy values.
🚨 Work in Progress. The current translations include:
Intl.PluralRulesIntl.RelativeTimeFormatIntl.ListFormat
Usage
Simply import the corresponding file from dist folder as follows:
// For example, locale for Intl.RelativeTimeFormat
import '@kotwys/formatjs-esperanto/dist/relativetimeformat.js';Building
This project uses yarn so you need to install it first.
Then execute the following:
git clone https://github.com/kotwys/formatjs-esperanto.git
cd formatjs-esperanto
yarn
yarn buildThe locales will appear in the dist/ folder.