flutter_lokalise

Last updated:

0 purchases

flutter_lokalise Image
flutter_lokalise Images
Add to Cart

Description:

flutter lokalise

flutter_lokalise #



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 pubspec.yaml:
dev_dependencies:
flutter_lokalise: any

flutter_lokalise:
project_id: YOUR_LOKALISE_PROJECT_ID
api_token: YOUR_LOKALISE_API_TOKEN
include_tags:
- tag1
- tag2

flutter_intl:
enabled: true
copied to clipboard
Run flutter_lokalise:
flutter pub run flutter_lokalise \
[--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.
flutter_lokalise <command>>
copied to clipboard
or creating an alias instead:
alias flutter_lokalise="flutter pub run flutter_lokalise"

flutter_lokalise <command>>
copied to clipboard
download command #
Downloads .arb translation files.
flutter_lokalise download \
[--output <path>] \
[--include-tags <tag1,tag2,...>]
copied to clipboard
For example:
flutter_lokalise download
copied to clipboard
Publishing new version #

Make sure you have access to meniga.com publisher
Bump version in pubspec.yaml
Run pub publish --dry-run and check if this package can be published
Push commit, get approves and merge to master
Checkout master
Run pub publish and check if the package was published
Go to releases page and create a new release by tagging the current commit

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.