sources(哈希→源文本),缺失的条目将被加入后台翻译队列,客户端轮询本接口即可取回结果。sources (hash → source text); missing entries are enqueued for background translation, and clients poll this endpoint to pick up the result.{
"hashes": [
"string"
],
"lang": "en",
"sources": {
"property1": "string",
"property2": "string"
}
}curl --location 'https://nearcade.cn/api/ugc/translations' \
--header 'Content-Type: application/json' \
--data '{
"hashes": [
"string"
],
"lang": "en",
"sources": {
"property1": "string",
"property2": "string"
}
}'{
"translations": {
"property1": "string",
"property2": "string"
}
}