Translations

Update single translation

Changed on

Updates a single translation.

It throws an error if the translation key (with optional namespace), language key or customerId does not exist.

key and language are required fields.

text and reviewStatus are the fields that can be updated.

If text is not provided, then the translation is not updated.

If reviewStatus is not provided, then the translation is marked as NOT_REVIEWED. Allowed values are REVIEWED and NOT_REVIEWED.

patch/api/v2/translations

Request

Request body

keystring required
languagestring required
textstring required
customerIdstring
namespacestring
reviewStatus'REVIEWED' | 'NOT_REVIEWED' | ''

Response

OK

Changes

    • breaking

      the request property's maxLength was decreased to 30000

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the request property type changed from object to string

    • warning

      deleted the header request parameter X-SimpleLocalize-Token

    • info

      api operation id updateTranslationsV2 removed and replaced with updateTranslations

    • info

      the endpoint scheme security Project API Key was added to the API

    • info

      the endpoint scheme security apiKey was removed from the API

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status