Translation contains the APIs for translation operations.
获取翻译服务支持的语言。
connection.getSupportedLanguages()
翻译消息。
connection.translateMessage({text: 'hello', languages: [zh-Hans]})
要翻译的目标语言代码列表。
要翻译的文本。
Generated using TypeDoc
Translation contains the APIs for translation operations.