arbify 0.0.10 arbify: ^0.0.10 copied to clipboard
A package providing support for internationalizing Flutter applications using intl package with Arbify.
arbify #
A package providing support for internationalizing Flutter applications using intl package with Arbify.
Usage #
$ flutter pub run arbify:download --help
Arbify download command-line utility.
-h, --help Shows this help message.
-i, --[no-]interactive Whether the command-line utility can ask you interactively.
(defaults to on)
-s, --secret=<secret> Secret to be used for authenticating to the Arbify API.
Overrides the secret from the .secret.arbify file.
Use flutter pub run arbify:download
to run a command-line utility that will guide you through setting up arbify package. This generally comes to two things:
-
Adding configuration to your
pubspec.yaml
filearbify: url: https://arb.company.com project_id: 17 outpur_dir: lib/l10n # default, can be ommited
-
Adding your secret (obtained at https://arb.company.com/account/secrets/create) to
.secret.arbify
file.
Sample output #
$ flutter pub run arbify:download
Output directory doesn't exist. Creating... done.
en Downloading... done.
pl Downloading... done.
mk Downloading... done.
Generating l10n.dart file... done
Generating messages dart files... done