Coder Social home page Coder Social logo

jekahamster / translator Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 118 KB

Desktop translator. Just select text ant press hotkey.

Python 98.66% Batchfile 1.34%
translation translator-app desktop-translator translate-selected-text translator select-translate

translator's Introduction

Translator

Description

This program will help you understand articles, books, and other foreign texts without switching to another tab with a translator, which can cause loss of context and concentration. Simply select the text, press a hotkey, and continue reading. You can also learn new words by adding them to your favorites.

image

How to use?

  1. At the first of all, run the main.py.
  2. You can see window with empty fields. The program is added to the system tray. You can close or hide window.

image

  1. Open your document and select or copy text. After that, press the combination specified in the settings.json (activation_hotkey)

image

  1. For exit, right click on the icon in tray and select Exit

image

  1. Also you can print text on upper text field and press Ctrl+Return (Ctrl+Enter) for translation. For listen text, press on sound icon. For swap languages press on incon with thwo arrows between text fiels. And press to start for add word or sentence to favourite

Settings

Open settings.json

  • activation_hotkey - shortcut for activation - string
  • database - path to the file that stores the saved words - string
  • audio_rate - audio rate - positive number
  • audio_voice - voice type - int number from 0 to 2
  • no_newline - some documents has newline at the end of line, but sentence not finished. Set True for replace all \n\r - boolean

translator's People

Contributors

jekahamster avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.