Skip to main content

Clean and translate your highlight text

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kleantrans-1.0.7.tar.gz (156.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kleantrans-1.0.7-py3-none-any.whl (157.1 kB view details)

Uploaded Python 3

File details

Details for the file kleantrans-1.0.7.tar.gz.

File metadata

  • Download URL: kleantrans-1.0.7.tar.gz
  • Upload date:
  • Size: 156.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for kleantrans-1.0.7.tar.gz
Algorithm Hash digest
SHA256 db18161c4850b26dd1dde91dfb97cd33749de63db5ff33deac3b304870c9861a
MD5 77f759f6482c72b3b01576f940d40f19
BLAKE2b-256 f10fd45d3a980457be0cc43a6d8617fceddfeb242390976645f15a0fa602f592

See more details on using hashes here.

File details

Details for the file kleantrans-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: kleantrans-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 157.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for kleantrans-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3dd7848ef14bc40da9ed0a9a2887e70a42c6eb2838dc3a4915d36fcb49a0950e
MD5 ce4a8d56240aeafad41298f5f81878c2
BLAKE2b-256 f066000732cda50b12d267d85d4fce250e2341384826d9292272620b88932efb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page