Export files

Learn how to export files

get
Export data

https://api.simplelocalize.io/api/v2/export
This endpoint allows you to export translations from your project to downloadable file.
Request
Response
Request
Path Parameters
X-SimpleLocalize-Token
required
string
Project Upload Token from Settings tab
Query Parameters
exportType
required
string
Check available export types below
Response
200: OK
{
"msg": "OK",
"status": 200,
"data": {
"fileId": 1727,
"fileKey": "c9fad0d17e71436fbdef0a414b085c8b/snapshot_2019-10-07_18-35-06/exported.json",
"url": "https://cdn.simplelocalize.io/c9fad0d17e71436fbdef0a414b085c8b/snapshot_2019-10-07_18-35-06/exported.json"
}
}

Available export type values

  • FORMAT_JS - format used by FormatJS library

  • SPRING - format used by Java and Spring applications (messages_xx.properties)

  • ANDROID - format used by Android Library

  • IOS - format used by iOS Library

  • EXCEL - regular Excel format

get
Export data [deprecated]

https://api.simplelocalize.io/api/v1/export
This endpoint allows you to export translations from your project to downloadable file.
Request
Response
Request
Headers
X-SimpleLocalize-Token
required
string
Project Upload Token from Settings tab
Response
200: OK
Success
{
"msg": "OK",
"status": 200,
"data": {
"fileId": 1727,
"fileKey": "c9fad0d17e71436fbdef0a414b085c8b/snapshot_2019-10-07_18-35-06/exported.json",
"url": "https://cdn.simplelocalize.io/c9fad0d17e71436fbdef0a414b085c8b/snapshot_2019-10-07_18-35-06/exported.json"
}
}