TranslatorResult
Data Structure
INTLTranslatorResult: Inherits from INTLBaseResult, includes basic information.
Parameter | Type | Description |
---|---|---|
translatorResp | string | Result of translation request, to be processed by the game, see translatorResp for more information |
Code sample:
{
"debugInfo":null,
"message":"Success",
"result":[
{
"id":"xxxx",
"output":"xxx",
"text":"xxx”
}
],
"retCode":"0"
}
translatorResp
retCode | message | Description |
---|---|---|
0 | Success | Success |
1001 | ParamsError | Parameter error |
1002 | ServiceInternalError | Internal error in the server |
1003 | PermissionError | Permission error, appId may not exists or token invalid |
1007 | rate limit reached | Daily PV or QPM limit exceeded |