Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_i18n

I18n made easy for Flutter using JSON, XML, YAML or TOML files.

pub.devRemove
slang

Type-safe i18n solution generating Dart translation classes from JSON, YAML, CSV, or ARB files

pub.devRemove
ScoresHealth6990 (best)
Maintenance5688 (best)
Quality76100 (best)
Popularity7597 (best)
Community4564 (best)
Compatibility100100
UsageDownloads (30 days)26k401k (best)
Likes203798 (best)
Pub points140 / 160160 / 160 (best)
GitHub stars219—
MaintenanceLatest release0.37.1, 11 months ago4.19.2, 2 months ago (best)
Major versions in 12 months00
Contributors21—
PublisherUnverifiedtienisto.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoYes
Direct dependencies105 (best)
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Supports multiple file formats (JSON, YAML, TOML, XML)
  • Offers various loaders including local, network, and namespace-based loaders
  • Provides built-in widgets like I18nText and I18nPlural for convenience
  • Fast execution via direct Dart method calls without runtime string parsing
  • Rich feature set including plurals, context enums, interfaces, linked translations, and RichText support
  • Comprehensive CLI tooling for migration, analyzing unused/missing keys, and normalizing files
Weaknesses
  • No code generation for compile-time key safety
  • Requires manual setup of assets in pubspec.yaml
  • Requires code generation steps whenever translation files change
  • Typically requires a companion package (slang_flutter) for idiomatic Flutter integration
WarningsNoneNone
flutter_i18n vs slang: which Flutter package should you use? | pubscout