seaneagan / intlx

experimental internationalization APIs for Dart
BSD 2-Clause "Simplified" License
8 stars 3 forks source link

Intlx

Build Status

Intlx is internationalization APIs for Dart, which have not yet made it into the intl package itself.

Usage

For usage examples, checkout the live demo and API docs.

Formats

The core APIs of this package are Formats, which format various data types to locale specific Strings, similar to DateFormat and NumberFormat from the intl package. APIs include IterableFormat, PluralFormat, DurationFormat, and AgeFormat.

CLDR data

All data is sourced from CLDR, specifically http://i18ndata.appspot.com/.

Supported locales:

Supported locales are currently intentionally constrained to be the same as [DateFormat's supported locales] (https://code.google.com/p/dart/source/browse/trunk/dart/pkg/intl/lib/src/data/dates/localeList.dart). However CLDR does support many more locales, which could easily be supported later.