intl_message 0.2.0+2

Dart native js
Flutter Android iOS web

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

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.

1
likes
95
pub points
47%
popularity

Publisher

appsup.be

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

expressions, intl, petitparser

More

Packages that depend on intl_message