API: Export translations

Last modified: March 28, 2021Author: Jakub Pomykała

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

GET Endpoint

https://api.simplelocalize.io/api/v3/export

Example cURL

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

Available download file formats

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

https://api.simplelocalize.io/api/v2/export

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