Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.24 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.24 KB

quick-dict

Quickly translate the selected words.

Features

Requiements

This tool uses translate-shell to translate text. So you must install trans first.

sudo apt install translate-shell

Installation

Run

go install github.com/thuan1412/quick-dict@latest

to install the executable file.

Or build from source code.

In order to listen to the speak of the text, install google-speech and its dependencies

pip install google-speech
sudo apt-get install sox
sudo apt-get install libsox-fmt-mp3

And create a shortcut to run the command.

image

Then, you can use the shortcut to open the popup window to translate the selected text to Vietnamese.

Demo

After install successfully, you can use the shortcut the translate the selected text image