intl_message 0.3.2+5 copy "intl_message: ^0.3.2+5" to clipboard
intl_message: ^0.3.2+5 copied to clipboard

Parses and formats ICU Message strings. Formats strings in multiple languages.

❤️ sponsor

intl_message #

Build Status

Parses and formats ICU Message strings.

Usage #

var msg = new IntlMessage("It is now {now, date, long}");

var str = msg.format({
  "now": new DateTime.now()
});

print(str);

msg = new IntlMessage({
  "nl": "Toon is geboren op {birthday, date, long}",
  "en": "Toon was born on {birthday, date, long}",
});

IntlMessage.withLocale("nl", () {
  var str = msg.format({
    "birthday": new DateTime(2008,8,16)
  });

  print(str);

});

Features and bugs #

Please file feature requests and bugs at the issue tracker.

Creating and maintaining this package takes a lot of time. If you like the result, please consider to ❤️ sponsor. With your support, I will be able to further improve and support this project. Also, check out my other dart packages at pub.dev.

5
likes
135
points
11
downloads

Publisher

verified publisherappsup.be

Weekly Downloads

Parses and formats ICU Message strings. Formats strings in multiple languages.

Repository (GitHub)

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (license)

Dependencies

expressions, intl, petitparser

More

Packages that depend on intl_message