Download translations

Download translations to your local files using CLI. Choose the best matching file format for your project. Invoke 'download' command to get the latest version of translations.

download translations

💿 Installation

Install SimpleLocalize CLI

curl -s https://get.simplelocalize.io/install | bash

Problems with CLI? Checkout troubleshooting section.

👨‍💻 Usage

simplelocalize download \ 
  --apiKey <PROJECT_API_KEY> \ 
  --downloadFormat multi-language-json
  --downloadPath ./translations.json \

📦 Download formats

downloadFormat Description
multi-language-json one JSON file with multiple languages
single-language-json JSON file with one language (use languageKey param to specify language)
simplelocalize-json JSON format prepared for integration purposes
excel Microsoft Excel spreadsheet in *.xlsx format
csv , or ; separated translation keys
yaml yaml file format
android XML Resource Strings file
localizable-strings Localizable.strings file format
java-properties Java properties file

Example

CLI download

🖊 How to change file names

If you selected format which provides more than one file, then the file name will contain language key which is set in SimpleLocalize Web (Languages tab). Change the language key and download translations again using CLI to get translation file with changed name.

Example command usage

simplelocalize download \
 --apiKey PROJECT_API_KEY \ 
 --downloadPath ./translations_{lang}.json \ 
 --downloadFormat single-language-json

Learn how to upload translations using CLI. Optionally, you can also check how to import translations using API.