Skip to content

A small GUI program to read and translate books simultaneously

Notifications You must be signed in to change notification settings

fortvivlan/overseleser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overseleser 1.30

(Oversette + leser)

This is a small GUI program to read books in foreign languages and to get interactive translations from Google Translate. I made it for my own use.

Dependencies:

pyqt5
googletrans==4.0.0-rc1
beautifulsoup4
EbookLib
pdfminer.six
python-docx
pyaudio
gtts
playsound==1.2.2

What it can:

  • Open files and display them as raw text, supported formats:
    • .txt, encoding: UTF-8
    • .epub
    • .pdf (beware: some pdfs are too heavy or contain images instead of OCR)
    • .docx
  • Save currently opened file, chosen language, cursor position and font size
  • Increase and decrease font size
  • Convert supported formats to .txt and store in "books" folder
  • Read words and sentences aloud
  • You may choose source language out of ~ 15 languages
  • Destination language will be most probably English
  • There is a note area where you can write your notes - they get saved with the rest
  • You can create automatic dictionaries and add your words
  • The dictionary can be viewed in a separate window or printed as txt file

  • You may copy selected text and paste it anywhere you want
  • There are hotkeys!

What it can't:

  • run under MacOS. I hate macs, there will be no support ever
  • open .djvu and .pdf with pics. I would have to do OCR for that...
  • change font family (I was too lazy to find out how to add custom fonts, but I may do so in future)
  • open .doc (who the f*ck uses .doc nowadays? Oh, and .rtf too, convert them yourselves)

Will there ever be an .exe version?

I dunno, I'm too lazy

Updates

v.1.30 - added gTTS voiceover

v.1.20 - added dictionaries

v.1.10 - added note area

v.1.00 - added the ability to remember window size; added background to text window; added custom font (you can't change it)

v.0.95 - fixed the bug with failed formats, made the window resizeable

About

A small GUI program to read and translate books simultaneously

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages