As the name suggests, this plugin allows you to use any custom translation API.
- text: string
- source_lang: string
- target_lang: string
text and target_lang are required, source_lang is optional.
{
"code": 200,
"data": "there is no one else"
}Please note that a successful translation request must include data and StatusCode. Please strictly follow RESTful API return Code.