Skip to main content

An enhanced PySide6/QML fork of Tran, originally by Borber

Project description

qtran - Quick Translation Tool

An enhanced PySide6/QML fork of Tran, originally created by Borber. This implementation provides a lightweight, cross-platform translation experience with a focus on clean architecture and performance.

Screenshots

Features

  • Quick Translation: Double-click Ctrl or Shift to translate selected text instantly.
  • Multiple Modes: Support for Google Translate and custom Mirror modes.
  • Clean UI: Beautiful, minimalist interface built with QML.
  • Dark/Light Themes: Automatic and manual theme switching.
  • Pinned Mode: Keep the translation window on top when needed.
  • Language Detection: Smart language switching based on source text.

Architecture

This fork features a clean, modular architecture:

  • tran.core: Core business logic including configuration, translation services, and input monitoring.
  • tran.ui: UI-related logic such as system tray management.
  • tran.resources: Static assets including QML files and icons.
  • tran.app: Application lifecycle management and coordination.

Installation

Recommended installation method via uv:

uv tool install qtran

Alternatively, via pip:

pip install qtran

Usage

Run the application:

qtran
  • Translate: Select text and double-click the configured shortcut (Ctrl by default).
  • Hide: Press Esc or click outside the window (if not pinned).
  • Settings: Right-click the system tray icon to change themes, modes, shortcuts, and default languages.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

qtran-0.1.2.tar.gz (382.0 kB view details)

Uploaded Source

Built Distribution

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

qtran-0.1.2-py3-none-any.whl (386.1 kB view details)

Uploaded Python 3

File details

Details for the file qtran-0.1.2.tar.gz.

File metadata

  • Download URL: qtran-0.1.2.tar.gz
  • Upload date:
  • Size: 382.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for qtran-0.1.2.tar.gz
Algorithm Hash digest
SHA256 36bcf1429b22bdeae363ac964545152cf02b74dd95c971a2eec989cb71d8d82f
MD5 42e74c90220b95900f793b3e8079444e
BLAKE2b-256 08b0af6cf11d13b0ef023dcae11fb397530494a57728fa83a928982ebb41af94

See more details on using hashes here.

File details

Details for the file qtran-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: qtran-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 386.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for qtran-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9ff78cb973702d98ddcce51ca0998f2af0de40137d9be12bfc7a11feed687017
MD5 d22112f1c564c7c3d92591bb6b05cb9d
BLAKE2b-256 2c5aa32b1360de7ca4fd8217a7079f1b3ab5bf1bc94d27090cb2f0919f4b1df7

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