flutter_loco_translations 1.0.0 flutter_loco_translations: ^1.0.0 copied to clipboard
CLI tool for automatic updating translations in flutter projects.
flutter-loco-translations #
CLI tool for automatic updating translations in flutter projects (https://localise.biz/)
Installing #
dev_dependencies:
flutter_loco_translations:
git:
url: git@bitbucket.org:lanars-inc/flutter-loco-translations.git
Usage #
flutter pub run flutter_loco_translations --locales="en,en_CA" --api_key="key" --path="lib/l10n"
(***It is important that an SSH connection be established with (https://gitlab.lanars.com/)***)
Parameters #
- locales -- List of locales you want to load, separated by commas (It is important that your based locale does not have a country code and also locales must be written in this "en_US" format)
- api_key -- API key from "localise.biz"
- path -- Path where you want to save the downloaded files relative to where you run the script