API: Export translations

Last modified: July 24, 2021Author: Jakub Pomykała

Export translations to downloadable file. Using this endpoint requires authorization.

GET Endpoint


Example cURL

Download all translations into one file

  --request GET \
  --url https://api.simplelocalize.io/api/v3/export?downloadFormat=multi-language-json \
  --header 'x-simplelocalize-token: <API_KEY>'

Learn more about multi-language-json.

Download translations for one language

  --request GET \
  --url https://api.simplelocalize.io/api/v3/export?downloadFormat=single-language-json&languageKey=en \
  --header 'x-simplelocalize-token: <API_KEY>'

Learn more about single-language-json.

Query parameters

Parameter Description
downloadFormat Set download format to select a file format to download
languageKey Set language key if you want to export translations only for one language

Available downloadFile values

downloadFormat Description
multi-language-json JSON file with all translations
single-language-json JSON file with one language (use languageKey param to specify language)
excel Microsoft Excel spreadsheet in *.xlsx format
yaml yaml file format
android XML Resource Strings file
localizable-strings Localizable.strings file format
java-properties Java properties file
po-pot PO/POT files
php-array PHP Array file
module-exports module.exports file

Deprecated APIs below

GET Deprecated endpoint


Deprecated export file formats

exportType Description
FORMAT_JS format used by FormatJS library
JEKYLL format used by Jekyll plugin
SPRING format used by Java and Spring applications (messages_xx.properties)
ANDROID format used by standard Android library
IOS_MACOS format used by standard iOS library
EXCEL Microsoft Excel spreadsheet in *.xlsx format