Translation of the text by different translators (currently Google.Translate, Yandex.Translate).
This extension needs the package translate-shell.
cd /usr/bin
sudo wget https://git.io/trans
sudo chmod a+x trans
For full install instructions see translate-shell#installation. If you have trouble using translate-shell, make sure your version of translate-shell is over 0.9.5-1, otherwise it might cause issues.
Go on the Text Translator extension page, click on the switch ("OFF" => "ON"), click on the install button. That's it !
<Super> T
- open translator dialog.
<Super> <Shift> T
- open translator dialog and translate text from clipboard.
<Super> <Alt> T
- open translator dialog and translate from primary selection (requires xclip).
<Ctrl> <Enter>
- translate text.
<Ctrl> <Shift> C
- copy translated text to clipboard.
<Ctrl> S
- swap languages.
<Ctrl> D
- reset languages to default.
<Tab>
- toggle transliteration of result text.