intl_message 0.1.4+3 copy "intl_message: ^0.1.4+3" to clipboard
intl_message: ^0.1.4+3 copied to clipboard

outdated

Parses and formats ICU Message strings.

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 {now, date, long}",
  "en": "Toon was born on {now, 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.

5
likes
0
pub points
63%
popularity

Publisher

verified publisherappsup.be

Parses and formats ICU Message strings.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

intl, petitparser

More

Packages that depend on intl_message