thuan1412 / quick-dict

Translate selected words in a convenient way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Translate selected words in a convenient way


Languages

Language:Go 99.7%Language:Makefile 0.3%