o_i18n_generator 0.1.0 o_i18n_generator: ^0.1.0 copied to clipboard
Merges [language-tag].json files from given path in root and all dependant packages. Creates a map with translations. You can redirect (from one key to another), overwrite and fill missing translation [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add o_i18n_generator
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
o_i18n_generator: ^0.1.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:o_i18n_generator/o_i18n_generator.dart';