intl4x 0.1.0 copy "intl4x: ^0.1.0" to clipboard
intl4x: ^0.1.0 copied to clipboard

A lightweight modular library for internationalization (i18n) functionality.

package:intl4x

A lightweight modular library for internationalization (i18n) functionality.

Features #

  • Formatting for dates, numbers, and lists. (TODO)
  • Collation. (TODO)

Implementation #

  • Wraps around ICU4X on native or web platforms. (TODO)
  • Wraps around the built-in browser functionalities on the web.
    • Select which locales you want to use the browser for through an EcmaPolicy.

Example #

The functionalities are called through getters on an Intl instance, i.e.

final numberFormat = Intl(
  ecmaPolicy: const AlwaysEcma(),
  locale: 'en_US',
).numberFormat;
print(numberFormat.percent().format(0.5)); //prints 50%
11
likes
0
pub points
38%
popularity

Publisher

verified publisherlabs.dart.dev

A lightweight modular library for internationalization (i18n) functionality.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

js

More

Packages that depend on intl4x