Overview
A lightweight Flutter package for managing app translations using TOML (Tom's Obvious, Minimal Language) files. Built on Flutter's LocalizationsDelegate, it enables easy integration of localized strings by loading key-value pairs from TOML files. The package supports multiple locales and simplifies translation workflows with a clean, human-readable format. Ideal for developers seeking a minimal, structured alternative to JSON or YAML for localization. It works across all major Flutter platforms including Android, iOS, Web, macOS, Windows, and Linux.
Use cases
- Managing multilingual app content
- Loading translations from TOML files
- Simplifying localization setup in Flutter apps
- Supporting dynamic language switching
- Integrating structured text files for translations
Key features
- TOML-based translation files
- Minimal dependency footprint
- Built on LocalizationsDelegate
- Cross-platform support
- Easy-to-read configuration format
- Automatic locale detection
Suitable for
- Developers preferring TOML over JSON/YAML
- Projects requiring lightweight localization
- Teams using structured text formats
- Apps targeting multiple languages
- Flutter apps needing simple translation management
Considerations
- Requires manual setup of TOML files
- Limited to basic string translations
- No built-in translation editing tools
- TOML parsing may be less familiar than JSON
- Not suitable for complex localization structures