Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributegettext

Platform agnostic gettext localization framework for Dart and Flutter

pub.devRemove
slang

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

pub.devRemove
ScoresHealth4190 (best)
Maintenance088 (best)
Quality96100 (best)
Popularity2897 (best)
Community664 (best)
Compatibility100100
UsageDownloads (30 days)3.5k401k (best)
Likes7798 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars11—
MaintenanceLatest release1.2.0, 6 years ago4.19.2, 2 months ago (best)
Major versions in 12 months00
Contributors1—
PublisherUnverifiedtienisto.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoYes
Direct dependencies0 (best)5
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Supports domains, contexts, and plurals out of the box.
  • Ships with plural forms for 136 languages.
  • Platform agnostic implementation that also works with Flutter.
  • 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
  • Relies on manual translation loading and parsing rather than generated type-safe keys.
  • Requires external packages like gettext_parser to parse standard .po or .mo files.
  • Requires code generation steps whenever translation files change
  • Typically requires a companion package (slang_flutter) for idiomatic Flutter integration
WarningsNoneNone
gettext vs slang: which Flutter package should you use? | pubscout