Translations

Upload Translations

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

Use Import Translations instead.

post/projects/{projectId}/translations/{languageId}

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

languageIdstring required

Language Identifier. Get via Project Target Languages

Request body

storageIdinteger required

Storage Identifier. Get via List Storages

branchIdinteger

Branch Identifier for import. Get via List Branches

importEqSuggestionsboolean

Defines whether to add translation if it's the same as the source string

autoApproveImportedboolean

Mark uploaded translations as approved

translateHiddenboolean

Allow translations upload to hidden source strings

addToTmboolean

Defines whether to add translation to TM

Example request

{
  "storageId": 13,
  "branchId": 2,
  "importEqSuggestions": true,
  "importOptions": {
    "scheme": {
      "identifier": 0,
      "en": 2,
      "de": 3
    }
  }
}

Response

Translations were successfully uploaded

Example response

{
  "data": {
    "projectId": 8,
    "storageId": 34,
    "languageId": "uk",
    "branchId": 2
  }
}

Changes

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