Rosetta
March 29, 2021 ยท View on GitHub
This is a localization library to simplify Flutter localization with the help of code generation. It generates getter functions for the localized keyset, so you don't have to worry about typos in String keys any more.
Roadmap
v0.3.0
- Support for plurals
- Key nesting
- Desktop and web support
v0.4.0
- Null safety
- Adding support for string arrays
v0.5.0
- Adding support for translaton context
- Adding support for YAML localization files
IMPORTANT:
- Dart2 is required to use this package.
- This project is designed for Flutter applications only
- This project is intended to be used with
flutter_localizationslibrary
Rosetta Annotation
The base package containing the annotations configuring the generator.
Import it into your pubspec dependencies: section.
Rosetta Generator
The package providing the generator.
Import it into your pubspec dev_dependencies: section.
Flutter Example
An example showing how to setup rosetta and rosetta_generator inside a Flutter project.
Contributions
Feel free to contribute to this project.
If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a new feature, please send a pull request.