@kotwys/formatjs-esperanto
v0.2.2
Published
Esperanto locale for FormatJS
Downloads
3
Maintainers
Readme
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.PluralRules
Intl.RelativeTimeFormat
Intl.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 build
The locales will appear in the dist/
folder.