Skip to content

Flutter Localization tool with code generation tool.

License

Notifications You must be signed in to change notification settings

TeamWanari/rosetta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rosetta

travis

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

  • 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

Rosetta Annotation

Pub

Source Code

The base package containing the annotations configuring the generator.

Import it into your pubspec dependencies: section.

Rosetta Generator

Pub

Source Code

The package providing the generator.

Import it into your pubspec dev_dependencies: section.

Flutter Example

Source Code

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.