Get a specific translation or all of the translations

  • Get a single string translation

Endpoint 

https://api.platform.easytranslate.com/strings-library/api/v1/teams/:team-name/libraries/:library-id/translations/:translation-id

You need to use your autorization Bearer token to be able to send the request.  Simply add token as an attribute to the autorization section of your request and your access token as its value.

Then, you need to add the following variables' values to your endpoint path:

    • team_name: {{TEAM_NAME}}
      Instead of {{TEAM_NAME}}, you need to provide the team_name of your team.
    • library-id: {{LIBRARY_ID}}
      Instead of {{LIBRARY_ID}}, you need to provide the library_id of the library where the translation you wish to get is located. 
    • translation-id: {{TRANSLATION_ID}}
      Instead of {{TRANSLATION_ID}}, you need to provide the translation string id (the "id" attribute's value you can find in the response example) you wish to get.

Request example

curl --location -g --request GET 'https://api.platform.easytranslate.com/strings-library/api/v1/teams/{{TEAM_NAME}}/libraries/{{LIBRARY_ID}}/translations/{{TRANSLATION_ID}}'

 

Response example 

{
"data": {
"type": "string",
"id": "615fe360dd4afa03eb679729",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615fe360dd4afa03eb679727",
"library_id": "615fe35fdd4afa03eb679702",
"language_code": "da",
"created_at": "2021-10-08T06:21:20.255000Z",
"modified_at": "2021-10-08T06:21:20.255000Z"
}
},
"meta": {
"copyright": "Copyright 2021 EasyTranslate A/S",
"environment": "testing"
}
}
  • Get all the string translations

Endpoint 

https://api.platform.easytranslate.com/strings-library/api/v1/teams/:team-name/libraries/:library-id/translations

In order to get all the string translations, you need to send a GET request.

You need to use your autorization Bearer token to be able to send the request.  Simply add token as an attribute to the autorization section of your request and your access token as its value.

Then, you need to add the following variables' values to your endpoint path:

    • team_name: {{TEAM_NAME}}
      Instead of {{TEAM_NAME}}, you need to provide the team_name of your team.
    • library-id: {{LIBRARY_ID}}
      Instead of {{LIBRARY_ID}}, you need to provide the library_id of the library where the string translations you wish to get are located. 

Request example

curl --location -g --request GET 'https://api.platform.easytranslate.com/strings-library/api/v1/teams/{{TEAM_NAME}}/libraries/{{LIBRARY_ID}}/translations'

 

Response example

{
"data": [
{
"type": "string",
"id": "615f002cbb6ca535d96ea204",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002cbb6ca535d96ea203",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:56.785000Z",
"modified_at": "2021-10-07T14:11:56.785000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea205",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002cbb6ca535d96ea203",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:56.793000Z",
"modified_at": "2021-10-07T14:11:56.793000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea206",
"attributes": {
"text": "Language",
"status": "translated",
"key_id": "615f002cbb6ca535d96ea203",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:56.800000Z",
"modified_at": "2021-10-07T14:11:56.800000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea208",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002cbb6ca535d96ea207",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:56.837000Z",
"modified_at": "2021-10-07T14:11:56.837000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea209",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002cbb6ca535d96ea207",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:56.844000Z",
"modified_at": "2021-10-07T14:11:56.844000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea20a",
"attributes": {
"text": "Currency",
"status": "translated",
"key_id": "615f002cbb6ca535d96ea207",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:56.852000Z",
"modified_at": "2021-10-07T14:11:56.852000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea20c",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002cbb6ca535d96ea20b",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:56.884000Z",
"modified_at": "2021-10-07T14:11:56.884000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea20d",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002cbb6ca535d96ea20b",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:56.891000Z",
"modified_at": "2021-10-07T14:11:56.891000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea20e",
"attributes": {
"text": "Change",
"status": "translated",
"key_id": "615f002cbb6ca535d96ea20b",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:56.901000Z",
"modified_at": "2021-10-07T14:11:56.901000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea210",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002cbb6ca535d96ea20f",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:56.955000Z",
"modified_at": "2021-10-07T14:11:56.955000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea211",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002cbb6ca535d96ea20f",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:56.962000Z",
"modified_at": "2021-10-07T14:11:56.962000Z"
}
},
{
"type": "string",
"id": "615f002cbb6ca535d96ea212",
"attributes": {
"text": "Privacy Policy",
"status": "translated",
"key_id": "615f002cbb6ca535d96ea20f",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:56.970000Z",
"modified_at": "2021-10-07T14:11:56.970000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea214",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002cbb6ca535d96ea213",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:57.027000Z",
"modified_at": "2021-10-07T14:11:57.027000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea215",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002cbb6ca535d96ea213",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:57.035000Z",
"modified_at": "2021-10-07T14:11:57.035000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea216",
"attributes": {
"text": "Your summary title here :)",
"status": "translated",
"key_id": "615f002cbb6ca535d96ea213",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:57.043000Z",
"modified_at": "2021-10-07T14:11:57.043000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea218",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea217",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:57.076000Z",
"modified_at": "2021-10-07T14:11:57.076000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea219",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea217",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:57.086000Z",
"modified_at": "2021-10-07T14:11:57.086000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea21a",
"attributes": {
"text": "Here is your order summary.",
"status": "translated",
"key_id": "615f002dbb6ca535d96ea217",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:57.094000Z",
"modified_at": "2021-10-07T14:11:57.094000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea21c",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea21b",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:57.128000Z",
"modified_at": "2021-10-07T14:11:57.128000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea21d",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea21b",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:57.135000Z",
"modified_at": "2021-10-07T14:11:57.135000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea21e",
"attributes": {
"text": "Source language:",
"status": "translated",
"key_id": "615f002dbb6ca535d96ea21b",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:57.143000Z",
"modified_at": "2021-10-07T14:11:57.143000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea220",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea21f",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:57.182000Z",
"modified_at": "2021-10-07T14:11:57.182000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea221",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea21f",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:57.189000Z",
"modified_at": "2021-10-07T14:11:57.189000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea222",
"attributes": {
"text": "Target language:",
"status": "translated",
"key_id": "615f002dbb6ca535d96ea21f",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:57.200000Z",
"modified_at": "2021-10-07T14:11:57.200000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea224",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea223",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:57.235000Z",
"modified_at": "2021-10-07T14:11:57.235000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea225",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea223",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:57.244000Z",
"modified_at": "2021-10-07T14:11:57.244000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea226",
"attributes": {
"text": "Project file name:",
"status": "translated",
"key_id": "615f002dbb6ca535d96ea223",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:57.255000Z",
"modified_at": "2021-10-07T14:11:57.255000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea228",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea227",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:57.291000Z",
"modified_at": "2021-10-07T14:11:57.291000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea229",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea227",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:57.298000Z",
"modified_at": "2021-10-07T14:11:57.298000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea22a",
"attributes": {
"text": "Translator:",
"status": "translated",
"key_id": "615f002dbb6ca535d96ea227",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:57.305000Z",
"modified_at": "2021-10-07T14:11:57.305000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea22c",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea22b",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:57.340000Z",
"modified_at": "2021-10-07T14:11:57.340000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea22d",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea22b",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:57.347000Z",
"modified_at": "2021-10-07T14:11:57.347000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea22e",
"attributes": {
"text": "Word count:",
"status": "translated",
"key_id": "615f002dbb6ca535d96ea22b",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:57.354000Z",
"modified_at": "2021-10-07T14:11:57.354000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea230",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea22f",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:57.392000Z",
"modified_at": "2021-10-07T14:11:57.392000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea231",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea22f",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:57.399000Z",
"modified_at": "2021-10-07T14:11:57.399000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea232",
"attributes": {
"text": "Price (excl. VAT)",
"status": "translated",
"key_id": "615f002dbb6ca535d96ea22f",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:57.406000Z",
"modified_at": "2021-10-07T14:11:57.406000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea234",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea233",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "de",
"created_at": "2021-10-07T14:11:57.441000Z",
"modified_at": "2021-10-07T14:11:57.441000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea235",
"attributes": {
"text": null,
"status": "pending",
"key_id": "615f002dbb6ca535d96ea233",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "da",
"created_at": "2021-10-07T14:11:57.457000Z",
"modified_at": "2021-10-07T14:11:57.457000Z"
}
},
{
"type": "string",
"id": "615f002dbb6ca535d96ea236",
"attributes": {
"text": "Total price (excl. VAT):",
"status": "translated",
"key_id": "615f002dbb6ca535d96ea233",
"library_id": "615f002cbb6ca535d96ea202",
"language_code": "en",
"created_at": "2021-10-07T14:11:57.464000Z",
"modified_at": "2021-10-07T14:11:57.464000Z"
}
}
],
"meta": {
"copyright": "Copyright 2021 EasyTranslate A/S",
"environment": "testing"
}
}