@leiteszeke/lokalise
v0.0.14
Published
<!-- markdownlint-disable MD033 MD041 --> <p align="center"> <br /> <a href="https://holded.com" target="_blank"> <img src="https://www.holded.com/wp-content/uploads/2020/05/Holded_H_Logo_R_header.png" /> </a> <br /> <h1 align="center">Holde
Downloads
5
Readme
Installation
yarn add @holdedhub/lokalise
-- or --
npm install @holdedhub/lokalise
Commands
lokalise comparator
Compare 2 translation files and translate the difference and changes
USAGE
$ lokalise comparator
OPTIONS
-h, --help Show CLI help
-i, --input Base file path
-m, --modified Modified file path
-l, --lang Languages to translate separated by comma
-o, --output Translated file path output
See code: src/commands/comparator.ts
lokalise download
Download lokalise locales
USAGE
$ lokalise download
OPTIONS
-h, --help Show CLI help
-t, --token Lokalise API Token
-p, --project Lokalise Project ID
-o, --output Output file path
See code: src/commands/download.ts
lokalise generate
Generate and translate a full translation file from a base one.
######################################################################
# #
# You need to download your google-credentials.json to #
# the your project's root in order to use this command #
# #
######################################################################
USAGE
$ lokalise generate
OPTIONS
-h, --help Show CLI help
-l, --lang Languages to translate separated by comma
-i, --input English base filepath
-o, --output Translated files output
See code: src/commands/generate.ts
lokalise upload
Upload language files to Lokalise
USAGE
$ lokalise upload
OPTIONS
-h, --help Show CLI help
-t, --token Lokalise API Token
-p, --project Lokalise Project ID
-l, --lang Languages to upload separated by comma
-i, --input Language files path
See code: src/commands/upload.ts