Skip to content

Translate words and sentences instantly in desktop environment.

Notifications You must be signed in to change notification settings

ugnelis/instant-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instant-translator

Build Status Coverage Status

Translate words and sentences instantly. Program uses APIs of various translators.

What Does the App Solve?

Context

Currently, I live in the country whose language I only know the basics.

Problem

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).

Solution to the Problem

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.

Screenshot

Screenshot

Supported APIs

How to Use?

Add an API Key

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

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

Turn On Logs

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

Translate by Pressing the Keyboard

Currently, it's made that when clipboard (copy or cut operation) is changed then the app translates the text.

Minimum Software Requirements

  • A desktop operating system that supports Qt.
  • Qt 5.3+
  • gcc 4.8+

Releases

No releases published

Packages

No packages published