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.
- Support for plurals
- Key nesting
- Desktop and web support
- Null safety
- Adding support for string arrays
- 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_localizations
library
The base package containing the annotations configuring the generator.
Import it into your pubspec dependencies:
section.
The package providing the generator.
Import it into your pubspec dev_dependencies:
section.
An example showing how to setup rosetta
and rosetta_generator
inside a Flutter project.
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.