Translate words and sentences instantly. Program uses APIs of various translators.
Currently, I live in the country whose language I only know the basics.
Most of the things are in local language. So, it is necessary to adapt quickly by searching for the meanings of the words or the sentences in various applications (WEB based, desktop based).
Desktop application that is able to translate the content of web pages and dekstop-based applications in the app by clicking on the desired button.
First of all, you need to get API key for desired API. Then it can be added in Settings dialog (in menu File->Settings)
Configuration file can be found in:
- In Linux:
$HOME/.config/instant_translator/instant_translator.ini
- In Windows:
%APPDATA%\instant_translator\instant_translator.ini
Configuration file example:
[General]
default_api=google
[google]
key=API_KEY
text_type=text
source=lt
target=en
[microsoft]
key=API_KEY
text_type=plain
source=lt
target=en
[temp]
key=API_KEY
text_type=text
source=de
target=lt
In this project gflags library isn't used. That is why environment variable GLOG_logtostderr
has to be set in order to see logs.
GLOG_logtostderr=1 ./instant_translator
Currently, it's made that when clipboard (copy or cut operation) is changed then the app translates the text.
- A desktop operating system that supports Qt.
- Qt 5.3+
- gcc 4.8+