easyi18n_cli 0.2.0
easyi18n_cli: ^0.2.0 copied to clipboard
Command-line tool for easyi18n. Pulls translated localization files (Mode A, native .arb) and pushes your tr() source strings for translation.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate easyi18n_cliUse it
The package has the following executables:
$ easyi18n
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add easyi18n_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
easyi18n_cli: ^0.2.0Alternatively, 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:easyi18n_cli/easyi18n_cli.dart';