Last updated:
0 purchases
lokalise cmd
lokalise_cmd #
A tool to download translation bundles from Lokalise and convert them
to .arb files.
Currently, it supports following commands:
download command
Usage #
Add configuration to lokalise.yaml:
lokalise_cmd:
project_id: YOUR_LOKALISE_PROJECT_ID
api_token: YOUR_LOKALISE_API_TOKEN
include_tags:
- tag1
- tag2
flutter_intl:
enabled: true
copied to clipboard
Run lokalise_cmd:
flutter pub run lokalise_cmd \
[--working-directory <path>] \
[--api-token <token>] \
[--project-id <project_id>] \
<command>
copied to clipboard
You can also follow how to set up a global command to make it
available as a regular shell command by appending PATH.
lokalise_cmd <command>>
copied to clipboard
or creating an alias instead:
alias lokalise_cmd="flutter pub run lokalise_cmd"
lokalise_cmd <command>>
copied to clipboard
download command #
Downloads .arb translation files.
lokalise_cmd download \
[--output <path>] \
[--include-tags <tag1,tag2,...>]
copied to clipboard
For example:
lokalise_cmd download
copied to clipboard
Refer library #
Thanks flutter_lokalise
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.