Update Translation
PUT {{apiPath}}/environments/{{envID}}/translations/{{locale}}
The PUT /environments/{{envID}}/translations/{{locale}} operation updates the specified localized UI strings. When successful, this operation returns a 200 OK status message, and an empty response body. It does not return the updated translated strings for the language in the response.
To restore the PingOne provided translation for a string, you can submit a PUT request without providing the translatedText property in the request body:
{
"key":"flow-ui.label.username"
}
Or, you can submit a PUT request with an empty translatedText value:
{
"key":"flow-ui.label.username",
"translatedText":""
}
For complete property descriptions, see Languages translation request data model.
| Property | Type | Required? |
|---|---|---|
key | String | Required |
translatedText | String | Required |
Request Body
{"0"=>{"key"=>"flow-ui.label.username", "translatedText"=>"Nom"}, "1"=>{"key"=>"flow-ui.label.password", "translatedText"=>"le mot de passe"}}