Translation (TranslatorReq)
Data Structure
INTLTranslatorReq: Translation Request
| Parameters | Type | Explanation | Note |
|---|---|---|---|
| SrcLang | String | Original Language Default: auto | Required |
| TargetLang | String | Target Language Default: empty | Required |
| TranslateTexts | String | Translation content, format is [\"xxx\", \"xxx\"], up to 5 setsDefault: empty | Required |
| Topic | String | Background information of translation text Default: empty | Optional |
| PastConversation | String | Historical conversation content Default: empty | Optional |
| Remark | String | Other supplementary information Default: empty | Optional |
| NoCache | bool | Whether to disable caching true: no cache needed, false: cache needed Default: false | Optional |
| GameCode | String | GameCode that is assigned from AI translation service by Admin Default: empty | Optional |
| ExtInfo | string | Extension JSON field, note that it is a JSON string, not an object Default: empty | Optional |
| TraceId | string | Unique request ID for tracking, used for request-response correlation Default: empty | Optional |