Translation
Translate dictionary values
Changed onTranslate string values in a dictionary. Useful for translating structured content like landing page data.
post/api/v1/translation/dict
Request
- Base URLhttps://api.pwapps.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URLhttps://api.pwapps.com/api/v1/user/login
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"buttons": {
"cancel": "Cancel",
"submit": "Submit"
},
"description": "The best platform for your needs",
"title": "Welcome to our site"
},
"fieldsToTranslate": [
"title",
"description"
],
"sourceLang": "EN",
"targetLang": "UK"
}Response
Request completed successfully.
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info