{
// Enable/Disable translating the selected text when mouse hovering automatically.
"translation.auto-translate-hovering": true,
// Default source language for translation.
"translation.source-language": "auto",
// Default target language for translation.
"translation.target-language": "zh-CN",
// Specifies how to display the result of simple translation.
"translation.simple-display-mode": "notification",
// Max size of history.
"translation.max-history": 20,
// Specifies the translation api provider. (Google or Microsoft)
"translation.translation-api-provider": "Google",
// Specifies the voice api provider. (Google or Microsoft)
"translation.voice-api-provider": "Google"
}
Select text in editor and right click, choose Simple Translate (or use shortcut Shift+Alt+T),
and the translation for selected text will be shown in notification.
It is possiable to display the translation result in different ways (notification or statusBar) by translation.simple-display-mode.