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.0.tar.gz (23.6 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.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for qtran-0.1.0.tar.gz
Algorithm Hash digest
SHA256 942f293dde385a26743192bb955f76bdf09e1a500a2312ad8c8e40dde6bcb6bc
MD5 e11ca2857fdccfc6c53a3a7f9a4aaeb5
BLAKE2b-256 ed5e1ee477efe41cc3c4ef3226c9247fdba547af7c906eda573f8c0314110a4d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for qtran-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c9b8f5197703cd385b995c8676011fe6502c81d1a2904164254bf122596dd34
MD5 8beaa7e88273f5f5f2da9cb468350da3
BLAKE2b-256 93c689e765417496d46ba2d9f50c0161a91d0aa096878f433d7bd9a0f008019b

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