Search packages, repositories and app categories

Package detailsv0.20.3

intl

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
13.2M
Likes
6.1K
Pub points
160

Install package

flutter pub add intl

Package Overview

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

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

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Overview

This repository is home to Dart internationalization (i18n) and localization (l10n) related packages.

Packages

Package Description Issues Version
intl Contains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues. issues pub package
intl4x A lightweight modular library for internationalization (i18n) functionality. issues pub package
intl_translation Contains code to deal with internationalized/localized messages, date and number formatting and parsing, bi-directional text, and other internationalization issues. issues pub package
messages A lightweight modular library for localization (l10n) functionality. issues
messages_builder Build the messages for consumption by package:messages issues
messages_serializer Serialization of messages for package:messages. issues
messages_shrinker Removing unneeded messages from message data files for package:messages. issues pub package

Contribute

Let us know about bugs and feature requests, file a pull request, or participate in the discussions!

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package

Rankings