Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kant2002/crowdin-cli
Node.js CLI tool for the CrowdIn
https://github.com/kant2002/crowdin-cli
Last synced: 18 days ago
JSON representation
Node.js CLI tool for the CrowdIn
- Host: GitHub
- URL: https://github.com/kant2002/crowdin-cli
- Owner: kant2002
- License: mit
- Created: 2015-02-04T05:00:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-01-20T16:23:13.000Z (almost 4 years ago)
- Last Synced: 2024-10-11T20:34:59.217Z (about 1 month ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crowdin-cli
Node.js CLI tool for the CrowdIn**Note**: there's now an official [@crowdin/cli](https://www.npmjs.com/package/@crowdin/cli) npm package to run the official Java-based CLI.
## Downloading content
Download the translated content for the project. You could download specific language, or download all languages.Use command below to download all translated content for the project configured in the ./crowdin.yaml file. Content will be saved in the `all.zip`
crowdin-cli download
Use `-o` parameter to change output file for the downloaded content.
crowdin-cli download -o project_all.zip
Use `-l` parameter to download only selected language. Download only Russian language and save it to ru.zip.
crowdin-cli download -l ru
You could use `-o` and `-l` together.
crowdin-cli download -l ru -o project_ru.zip
## Exporting content
Crowdin cache translated content which could be downloaded. To be able to access the latest translation you have to export translation.
After that all subsequent copy for downloading will use same exported copy.Use command below to export content for the project configured in the ./crowdin.yaml file.
crowdin-cli export
## Downloading glossary
You could download glossary which you create inside your CrowdIn project as a TBX file.Use command to save glossary as `projectname.tbx` file. Where the `projectname` is name of the project in the `crowdin.yaml`.
crowdin-cli downloadGlossary
Use command below to save glossary as `technical.tbx`
crowdin-cli downloadGlossary -o technical.tbx
## Uploading glossary
You could upload your existing glossary, stored in TBX file, to use inside your CrowdIn project.Use command to upload glossary in `projectname.tbx` file. Where the `projectname` is name of the project in the `crowdin.yaml`.
crowdin-cli uploadGlossary
Use command below to upload glossary stored in `technical.tbx`
crowdin-cli uploadGlossary -s technical.tbx
## Downloading translation memory
You could download translation memory which you create inside your CrowdIn project as a TBX file.Use command to save glossary as `projectname.tmx` file. Where the `projectname` is name of the project in the `crowdin.yaml`.
crowdin-cli downloadTM
Use command below to save glossary as `technical.tmx`
crowdin-cli downloadTM -o technical.tmx
## Uploading translation memory
You could upload your existing translation memory files, stored in TMX file, to use inside your CrowdIn project.Use command to upload glossary in `projectname.tmx` file. Where the `projectname` is name of the project in the `crowdin.yaml`.
crowdin-cli uploadTM
Use command below to upload glossary stored in `technical.tmx`
crowdin-cli uploadTM -s technical.tmx