Overview
A Flutter package that automates the extraction of hardcoded strings from Dart files or the entire lib directory, generating .arb files for internationalization (i18n). It streamlines the i18n workflow by identifying translatable text and organizing it into structured ARB files compatible with Flutter's localization system. Ideal for teams managing multilingual apps, it reduces manual effort and minimizes errors in string management.
Use cases
- Automating string extraction for i18n
- Generating .arb files from source code
- Streamlining translation workflows
- Supporting multilingual app development
- Integrating with CI/CD pipelines
Key features
- Extracts strings from Dart files
- Generates .arb files automatically
- Supports full lib directory scanning
- Maintains organized key structure
- Integrates with Flutter’s intl system
Suitable for
- Flutter developers using i18n
- Teams managing multiple languages
- Projects requiring consistent string handling
- CI/CD environments with localization needs
- Developers seeking to reduce manual translation work
Considerations
- Requires manual review of extracted strings
- Does not handle dynamic string interpolation
- Best used alongside a translation workflow
- Not suitable for runtime string extraction
- May need configuration for complex projects