Auto-translate single text
Changed onAuto-translate single text for a project
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.
Headers
Request body
Example request
{
"targetLanguage": "en_US",
"targetProjectLanguage": "pl_PL",
"deeplFormality": "default",
"description": "This is a button label in Sign Up form.",
"translationProvider": "GOOGLE_TRANSLATE",
"sourceText": "Hello world!",
"sourceProjectLanguage": "pl_PL",
"sourceLanguage": "PL"
}Response
OK
Changes
- info
added the new
ANTHROPICenum value to the request property - info
added the new
CUSTOM_AIenum value to the request property - info
added the new
GEMINIenum value to the request property - info
added the new
OPEN_ROUTERenum value to the request property
- info
- breaking
removed the enum value
EXTERNAL_APIof the request property - breaking
removed the enum value
SYSTRANof the request property - breaking
the
request property's minLength was increased from0to1 - breaking
the
request property's minLength was increased from0to1 - info
api operation id
autoTranslate_2removed and replaced withautoTranslateText - 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