Skip to content

Repository files navigation

🌌 ZeroTranslate — Instant On-Screen Translation Suite

Platform Windows License Ecosystem

ZeroTranslate is a lightweight, blazing-fast desktop translation tool for Windows. Designed with C# WPF and .NET 8, it provides an exceptionally smooth, distraction-free translation experience directly at your cursor. Part of the sovereign ZeroUniverse application suite, it guarantees low resource overhead and instantaneous response times.


🚀 Key Features

  • ⚡ Instantly Translate Anywhere: Highlight text in any application and press your configured hotkey to immediately view translations without switching browser tabs.
  • 🖱️ Smart Floating Popup: Press Ctrl + Q to open a sleek, transparent translation popup near your cursor. It automatically dismisses when clicking outside.
  • 🖥️ Detailed Main Window: Press Ctrl + Enter to open a full window for editing lengthy translations, checking character counts, and browsing comprehensive dictionary outputs.
  • 🧠 Intelligent Auto-Language Flipper: Advanced context detection automatically reverses source and target languages when matching native text (e.g., Vietnamese ➔ English automatically).
  • 🔀 Quick Language Swapping: 1-click reversal of Source and Target languages in both the Main and Popup windows.
  • 🌙 Dark Mode First: Features a modern Dark UI with glassmorphism effects, ensuring zero eye strain during late-night programming or research sessions.
  • ⚙️ Multi-Engine Extensibility: Modular provider architecture currently supporting MyMemory, with extensible adapters for Google, Bing, and DeepL engines.

⌨️ Default Hotkeys

  • Ctrl + Q: Activate Floating Popup Translation.
  • Ctrl + Enter: Open Detailed Main Translation Window.
  • Esc: Close open translation windows immediately.

📦 Deployment & Binaries

ZeroTranslate is distributed in two deployment formats. Run build.ps1 to compile:

  • Lightweight Build (~5MB): Ultra-fast executable. Requires the .NET 8 Desktop Runtime.
  • Standalone Build (~68MB): Fully self-contained single file executable. Runs out-of-the-box on any 64-bit Windows machine without external dependencies.

Outputs are generated in PublishOutput/Lightweight/ and PublishOutput/Standalone/.


🛠️ Internal Architecture

Built with strict MVVM separation in C# WPF:

  • Windows API: Global Keyboard Hooks (SetWindowsHookEx) to listen for hotkeys globally without stealing focus.
  • SendKeys API: Automates system clipboard interaction (^c) for blazing-fast 10ms text capturing from foreign windows.
  • Dependency Injection: Autofac container decoupling translation providers, hotkey listeners, and UI views.

📄 License

Licensed under the MIT License. Part of the sovereign ZeroUniverse industrial computing ecosystem.

About

Blazing-fast desktop translation & real-time subtitle HUD suite for Windows (.NET 8 WPF). Features instant hotkey lookup, floating glassmorphism HUD, and offline Local LLM (Ollama/LM Studio) translation.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages