FLUTTER ECOSYSTEM

slang

Localization / Internationalization (i18n) solution. Use JSON, YAML, CSV, or ARB files to create typesafe translations via source generation.

slang cover
Latest version
4.14.0
30-day downloads
234.1K
Likes
757
Pub points
160

Package Overview

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

Overview

Slang is a Flutter/Dart package for localization and internationalization (i18n) that supports multiple file formats including JSON, YAML, CSV, and ARB. It enables typesafe translations through source generation, reducing runtime errors and improving developer experience. Slang integrates seamlessly into Flutter projects across all major platforms—Android, iOS, Web, macOS, Windows, and Linux—making it ideal for apps requiring multilingual support with strong type safety and maintainable translation files.

Use cases
  • Multilingual mobile and web applications
  • Type-safe translation management
  • Translation file integration with JSON/YAML/CSV/ARB
  • Seamless CI/CD pipeline support
  • Developer-friendly i18n workflows
Key features
  • Supports multiple translation file formats
  • Source code generation for type safety
  • Cross-platform compatibility
  • Easy integration with Flutter
  • Automatic translation key validation
Suitable for
  • Flutter developers building multilingual apps
  • Teams prioritizing type safety in translations
  • Projects using structured translation files
  • Developers seeking minimal boilerplate
  • Apps targeting global audiences
Considerations
  • Requires build step for code generation
  • Initial setup needed for translation files
  • Limited to supported file formats
  • Dependent on correct file structure
  • May require additional tooling for large-scale translation workflows
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add slang

Categories

Related projects

Rankings