-
Notifications
You must be signed in to change notification settings - Fork 393
Translate script using zenity for linux
skypce edited this page Apr 16, 2018
·
1 revision
https://github.com/skypce/translating-from-any-language-using-translate-shell-script
Ubuntu:
sudo apt-get install python-pip
sudo pip install ansi2html
sudo apt-get install xdotool xsel xclip zenity
wget https://raw.githubusercontent.com/soimort/translate-shell/gh-pages/trans
chmod +x trans
chmod +x englishtospanish
chmod +x spanishtoenglish
sudo mv trans /usr/local/bin
sudo mv englishtospanish /usr/local/bin
sudo mv spanishtoenglish /usr/local/bin
Go to system settings -> Keyboard -> Shortcuts -> Add a custom shortcut and assign a key to it.
Select a piece of text and apply the shortcut that you have assigned to script for translate the selected text. By default translator is set to deepL engine, you can modify script and change it.
- 0.1
- First Release.
César R. Cid Méndez – @YourTwitter – [email protected]
Credits to https://github.com/soimort/translate-shell by his awesome translation script.
Distributed under the GPL license. See LICENSE
for more information.