Translations

Update a translation

Updates a translation. Alternatively, use the <a href="/reference/bulk-update-1">Multi-key update</a> endpoint to update translations.

Requires <code>write_translations</code> OAuth access scope.

put/projects/{project_id}:{branch}/translations/{translation_id}

Request

  • Base URL
    https://api.lokalise.com/api2
  • URL
    https://api.lokalise.com/api2/projects/{project_id}:{branch}/translations/{translation_id}
  • Auth
    API key in header X-Api-Token

Path parameters

project_idstring required

A unique project identifier

branchstring required

Branch name

translation_idnumber required

Unique translation identifier.

Request body

translationstring required

The actual translation content. Use an JSON object for plural keys.

is_unverifiedboolean

Whether the Unverified flag is enabled.

is_reviewedboolean

Whether the Reviewed flag is enabled.

custom_translation_status_idsstring[]

Custom translation status IDs to assign to translation (existing statuses will be replaced).

Response

OK

project_idstring

Changes

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