String Translations

Translation Batch Operations

Required scopes: project.translation (Read and Write).

patch/projects/{projectId}/translations

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

Request body

op'remove' | 'add' | 'replace' required

Patch operation to perform

Example request

[
  {
    "op": "add",
    "path": "/-",
    "value": {
      "stringId": 35434,
      "languageId": "fr",
      "text": "Цю стрічку перекладено",
      "pluralCategoryName": "few",
      "addToTm": false
    }
  },
  {
    "op": "add",
    "path": "/-",
    "value": {
      "fileId": 12345,
      "languageId": "fr",
      "storageId": 67890
    }
  },
  {
    "op": "replace",
    "path": "/2814",
    "value": {
      "text": "new translation text"
    }
  },
  {
    "op": "remove",
    "path": "/2815"
  }
]

Response

Translations were successfully updated

dataTranslationResource[] required

Changes

No recorded changes to this operation across all 1 revision of this API.