talira

Internationalization and localization for Dart and Flutter

open sourceBSD-3-Clausefree

intl is the Dart team's internationalization package, used across Dart and Flutter apps: it formats and parses dates and numbers for any locale, handles plurals, genders and bidirectional text, and looks up translated messages. Its companion intl_translation extracts messages from code into ARB files for translators and generates Dart code from the translations. Both live in the dart-lang/i18n repository, alongside the newer intl4x and messages packages.

Problems it solves

  • format dates and currency for the user's locale in a Flutter app
  • translate my Dart app's strings with plural forms
  • extract strings from my Flutter code for translators

Features

  • locale-aware date and number formatting and parsing
  • plural and gender messages
  • bidirectional text
  • message extraction to ARB files with intl_translation