Translation contains the APIs for translation operations.
Gets the list of supported languages for translation.
connection.getSupportedLanguages()
Translates the text.
connection.translateMessage('hello', 'zh')
The list of target language codes.
The text to be translated.
Generated using TypeDoc
Translation contains the APIs for translation operations.