Translation Callback Information (TranslatorResult)
Data Structure
INTLTranslatorResult: Inherits from INTLBaseResult, and contains basic information
| Parameters | Type | Explanation |
|---|---|---|
| translatorResp | String | Processing results returned by the translation service, which need to be handled independently by the game side. See translatorResp for details |
Code Example:
{
"debugInfo":null,
"message":"Success",
"result":[
{
"id":"xxxx",
"output":"xxx",
"text":"xxx"
}
],
"retCode":"0"
}
translatorResp
| retCode | message | Explanation |
|---|---|---|
| 0 | Success | Success |
| 1001 | ParamsError | Parameter Error |
| 1002 | ServiceInternalError | Internal Service Error |
| 1003 | PermissionError | Permission error, the entered appId may not exist or the token is invalid |
| 1007 | rate limit reached | Daily PV or QPM exceeded limit |