Code Monkey home page Code Monkey logo

instant-translator's Introduction

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+

instant-translator's People

Contributors

ugnelis avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

instant-translator's Issues

Settings dialog

Add settings dialog which would have default translation languages.

Error messages

Need functionality for error handling, e. g., API token is not valid.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.