KleanTrans 
KleanTrans is an open-source application with a clean and simple interface for translating text using PyQT6.
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 + CMDor 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.
Release files for kleantrans 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kleantrans-1.0.7.tar.gz | 156.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kleantrans-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 313.6 kB
Release files / kleantrans-1.0.7.tar.gz
| Download URL | kleantrans-1.0.7.tar.gz |
|---|---|
| Size | 156.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db18161c4850b26dd1dde91dfb97cd33749de63db5ff33deac3b304870c9861a
|
|
BLAKE2b-256 checksum How to use checksums |
f10fd45d3a980457be0cc43a6d8617fceddfeb242390976645f15a0fa602f592
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / kleantrans-1.0.7-py3-none-any.whl
| Download URL | kleantrans-1.0.7-py3-none-any.whl |
|---|---|
| Size | 157.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dd7848ef14bc40da9ed0a9a2887e70a42c6eb2838dc3a4915d36fcb49a0950e
|
|
BLAKE2b-256 checksum How to use checksums |
f066000732cda50b12d267d85d4fce250e2341384826d9292272620b88932efb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|