0
當從一種語言翻譯成另一種語言時,可能會有多種結果。例如,當我們從英語「書」翻譯成西班牙語:使用谷歌翻譯API獲取翻譯字的所有結果
https://translate.google.com/?source=gtx_c#auto/es/book
有許多成果。但是,當我嘗試使用Google API時,響應僅包含一個結果:
{
"data": {
"translations": [
{
"translatedText": "libro",
"detectedSourceLanguage": "en"
}
]
}
}
如何獲取所有翻譯?