FLUTTER ECOSYSTEM

intl_generator

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

Latest version
0.4.1
30-day downloads
1.2K
Likes
25
Pub points
110

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The intl_generator package provides code generation tools for handling internationalization in Flutter apps. It supports localized messages, date and number formatting, parsing, and bidirectional text rendering. By generating Dart code from message files, it enables efficient and type-safe localization without runtime overhead. The package integrates seamlessly with the intl library, making it easier to manage translations across multiple languages and platforms.

Use cases
  • Generating localized strings from .arb files
  • Formatting dates and numbers per locale
  • Supporting right-to-left languages
  • Managing multilingual app content
  • Automating translation workflows
Key features
  • Code generation from ARB files
  • Type-safe localization
  • Built-in support for pluralization
  • Integration with intl library
  • Platform-agnostic localization
Suitable for
  • Flutter apps targeting global audiences
  • Teams managing multiple language translations
  • Projects requiring high-performance localization
  • Developers using ARB for message management
  • Apps needing consistent date/number formatting
Considerations
  • Requires setup of ARB files
  • Needs build step for code generation
  • Limited runtime customization
  • Depends on intl library
  • Not suitable for dynamic language switching
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add intl_generator

Categories

Source repository

Related projects