FLUTTER ECOSYSTEM

intl

Contains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues.

Latest version
0.20.3
30-day downloads
10.8M
Likes
6.1K
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The intl package provides comprehensive tools for internationalization in Flutter and Dart applications. It enables developers to manage localized messages, format and parse dates and numbers according to locale-specific rules, handle bidirectional text, and support multilingual content. Built by dart.dev, it is essential for creating apps that adapt to different languages and cultural conventions across Android, iOS, Web, macOS, Windows, and Linux platforms. The package integrates seamlessly with Flutter’s localization system and supports complex formatting needs like pluralization and gender-based messages.

Use cases
  • Localizing app strings
  • Formatting dates and numbers by locale
  • Handling bidirectional text
  • Supporting multiple languages
  • Creating dynamic message templates
  • Parsing internationalized input
Key features
  • Locale-aware formatting
  • Pluralization and gender handling
  • Message translation support
  • Bidirectional text rendering
  • Date and number parsing
  • Integration with Flutter's localization framework
Suitable for
  • Global apps targeting multiple regions
  • Apps requiring dynamic language switching
  • Complex formatting needs
  • Multilingual user interfaces
  • Developers building accessible international products
Considerations
  • Requires setup of localization files
  • May increase app size with many locales
  • Needs proper locale configuration
  • Depends on correct locale detection
  • Limited to Dart/Flutter ecosystem
  • Requires manual management of message catalogs
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add intl

Categories

Dependencies

Dependency list 3 items

Source repository

Related projects

Rankings