flutter_lokalise 1.0.0 copy "flutter_lokalise: ^1.0.0" to clipboard
flutter_lokalise: ^1.0.0 copied to clipboard

A tool to download translation files from Lokalise and convert them to .arb files.

flutter_lokalise #

pub package Build Status codecov

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

Run flutter_lokalise:

flutter pub run flutter_lokalise \
  [--working-directory <path>] \
  [--api-token <token>] \
  [--project-id <project_id>] \
  <command>

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>>

or creating an alias instead:

alias flutter_lokalise="flutter pub run flutter_lokalise"

flutter_lokalise <command>>

download command #

Downloads .arb translation files.

flutter_lokalise download \
  [--output <path>] \
  [--include-tags <tag1,tag2,...>]

For example:

flutter_lokalise download

Publishing new version #

  1. Make sure you have access to meniga.com publisher
  2. Bump version in pubspec.yaml
  3. Run pub publish --dry-run and check if this package can be published
  4. Push commit, get approves and merge to master
  5. Checkout master
  6. Run pub publish and check if the package was published
  7. Go to releases page and create a new release by tagging the current commit
10
likes
130
points
285
downloads

Publisher

verified publishermeniga.com

Weekly Downloads

A tool to download translation files from Lokalise and convert them to .arb files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

archive, args, freezed_annotation, http, json_annotation, logging, meta, path, quiver, yaml

More

Packages that depend on flutter_lokalise