crowdin-cli v0.3.0
crowdin-cli
Node.js CLI tool for the CrowdIn
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 downloadUse -o parameter to change output file for the downloaded content.
crowdin-cli download -o project_all.zipUse -l parameter to download only selected language. Download only Russian language and save it to ru.zip.
crowdin-cli download -l ruYou could use -o and -l together.
crowdin-cli download -l ru -o project_ru.zipExporting 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 exportDownloading 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 downloadGlossaryUse command below to save glossary as technical.tbx
crowdin-cli downloadGlossary -o technical.tbxUploading 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 uploadGlossaryUse command below to upload glossary stored in technical.tbx
crowdin-cli uploadGlossary -s technical.tbxDownloading 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 downloadTMUse command below to save glossary as technical.tmx
crowdin-cli downloadTM -o technical.tmxUploading 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 uploadTMUse command below to upload glossary stored in technical.tmx
crowdin-cli uploadTM -s technical.tmx