Coder Social home page Coder Social logo

stenkos / simple-popup-text-translator Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 6 KB

Translates text systemwide using the Google Translate API

License: MIT License

Python 100.00%
gui python tkinter google-translate google-translate-api google-translate-free-api google-translator python3 simple simple-app

simple-popup-text-translator's Introduction

Simple Popup Text Translator

IMPORTANT - After days of suffering I have retired this repo. Enjoy this buggy mess.

Overview

This program translates text that you copy into your clipboard, into the English language. When text is translated, it is displayed via a simplistic and modern GUI. The colour scheme of the GUI is based on the Discord colour scheme and uses Discord Black (#23272A) for the background and Discord White (#FFFFFF) for the text.

The translation is performed by the Google Translate API translate_a endpoint.

Installation

The program's executable will be available shortly. Instead, to run it in a Python interpreter, download the files or clone the repository using:

${GIT REPO}

Make sure the required packages are installed by running:

pip install -r requirements.txt

The main translation program is in main-trans.py, but I am trying to integrate it into a system tray program in launcher-trans.py.

Extra Info

The translated text

I have not yet added functionality for language translation other than to English. To add your own language, enter the main.py file and in the Google Translate params, replace the target language (tl) with your preferred language in ISO shortform.

The console

The console may print random samples during the runtime of the code. This is (in order):

  • The translated text
  • 54
  • The number of lines

This is a byproduct of my debugging, which I will fix in the next iteration of my program.

To-do list

  • Fix the tray icon
  • Add a language selection tool
  • Properly compile the program
  • Fix the jankiness of the window
  • Push window onto the middle every time

simple-popup-text-translator's People

Contributors

stenkos avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

karthika777

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.