Skip to content

KleanTrans is an open-source application with a clean and simple interface for translating text using PyQT6

License

Notifications You must be signed in to change notification settings

cuongpiger/kleantrans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KleanTrans PyPI

KleanTrans is an open-source application with a clean and simple interface for translating text using PyQT6.

Python

Overview

  • KleanTrans helps you to clean up the text before translating it, such as remove extra spaces, newlines, and special characters.
  • KleanTrans supports translating text from English to Vietnamese and vice versa.
  • Do not need to copy and paste the text to the translation tool, just select the text and press Ctrl + CMD or Middle Mouse to translate the text.

Pre-requisites

# OS Python Version Pass
1 Ubuntu 22.04 LTS 3.11.x
2 Ubuntu 24.04 LTS 3.12.x
  • Install the dependencies Ubuntu packages:

    sudo apt update &&
    sudo apt install -y translate-shell xclip libxcb-cursor-dev --upgrade
  • Install required Python packages:

    # Ubuntu 23.04 or higher, Python 3.12 or higher
    pip3 install -r requirements.txt --upgrade --break-system-packages
    
    # Remaining cases
    pip3 install -r requirements.txt --upgrade
  • Install kleantrans:

    # Ubuntu 23.04 or higher, Python 3.12 or higher
    pip3 install kleantrans --upgrade --break-system-packages
    
    # Remaining cases
    pip3 install kleantrans --upgrade

Demonstration

Usage:

  • Run the application:

    kleantrans
  • Currently, I only support the following languages:

    • English
    • Vietnamese
  • To translate text, using mouse to select the text and press Ctrl + CMD (Window key on the Windows OS) or Middle Mouse to translate the text.

  • To SHOW/HIDE the application, press SHIFT + CMD.

About

KleanTrans is an open-source application with a clean and simple interface for translating text using PyQT6

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages