Update single translation
Changed onUpdates 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.
Request
- Base URLhttps://api.simplelocalize.io
- AuthAPI key in header X-SimpleLocalize-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Changes
- breaking
the
request property's maxLength was decreased to30000
- breaking
- breaking
the
request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1 - breaking
the
request property type changed fromobjecttostring - warning
deleted the
headerrequest parameterX-SimpleLocalize-Token - info
api operation id
updateTranslationsV2removed and replaced withupdateTranslations - info
the endpoint scheme security
Project API Keywas added to the API - info
the endpoint scheme security
apiKeywas 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
- breaking