TeamWanari / rosetta

Flutter Localization tool with code generation tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Flutter Localization tool with code generation tool.

License:MIT License


Languages

Language:Dart 96.5%Language:Shell 1.5%Language:Objective-C 1.3%Language:Java 0.7%