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 |