# stranslate/stranslate

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/stranslate-stranslate).**

5,642 stars · 303 forks · C# · mit

## Links

- GitHub: https://github.com/STranslate/STranslate
- Homepage: https://stranslate.zggsong.com
- awesome-repositories: https://awesome-repositories.com/repository/stranslate-stranslate.md

## Topics

`ocr` `plugin` `stranslate` `translate` `wpf`

## Description

STranslate is a desktop application that combines translation, optical character recognition (OCR), QR code decoding, and silent text-to-speech into a single tool for processing text on screen. It functions as a multi-source translation aggregator, sending queries to dozens of translation services simultaneously and displaying results side by side for comparison, while also offering OCR-based text extraction from images and QR code decoding from screen captures or files.

The application distinguishes itself through a comprehensive set of automation and integration capabilities. A global hotkey event system lets users trigger translation, OCR, and text-to-speech actions without needing application focus, while an incremental selection accumulator buffers text selections made during a drag operation and processes them as a single translation request on hotkey release. A plugin-based translation orchestrator coordinates multiple services through a unified interface, and a RESTful API gateway exposes translation, window management, and hotkey control through HTTP endpoints for external automation. A cached translation layer stores previous results for instant retrieval, with a force-fresh override available when needed.

Additional capabilities include silent audio playback for reading selected text aloud without opening any UI, and the ability to translate text extracted from images with the translation overlaid directly on the image itself. The application also supports opening its main interface, settings, or history page via API calls, and toggling global hotkeys programmatically.

## Tags

### Artificial Intelligence & ML

- [Desktop Translation Clients](https://awesome-repositories.com/f/artificial-intelligence-ml/image-translation-pipelines/image-text-translators/desktop-translation-clients.md) — Is a desktop application that translates selected text on screen using multiple translation services and OCR.
- [Image Text Translators](https://awesome-repositories.com/f/artificial-intelligence-ml/image-translation-pipelines/image-text-translators.md) — Captures text from images via OCR and translates the extracted content in a single workflow.
- [Translation APIs](https://awesome-repositories.com/f/artificial-intelligence-ml/image-translation-pipelines/image-text-translators/translation-apis.md) — Exposes HTTP endpoints for programmatic text translation via GET or POST requests. ([source](https://stranslate.zggsong.com/docs/invoke.html))
- [Translation Result Comparison](https://awesome-repositories.com/f/artificial-intelligence-ml/multilingual-content-translation/translation-result-comparison.md) — Sends queries to dozens of translation services simultaneously and displays results side by side for comparison.
- [Multi-Service Translation Aggregators](https://awesome-repositories.com/f/artificial-intelligence-ml/multilingual-content-translation/translation-result-comparison/multi-service-translation-aggregators.md) — Sends text to dozens of translation services simultaneously and displays results for side-by-side comparison.
- [Real-Time Screen Translators](https://awesome-repositories.com/f/artificial-intelligence-ml/optical-character-recognition/screen-text-extractors/real-time-screen-translators.md) — Selects text on screen and translates it instantly without manual input or opening an interface.
- [Overlaid Image Translations](https://awesome-repositories.com/f/artificial-intelligence-ml/image-translation-pipelines/image-text-translators/overlaid-image-translations.md) — Provides a feature that extracts text from an image and displays the translation directly on the image. ([source](https://stranslate.zggsong.com/docs/invoke.html))

### Part of an Awesome List

- [Text Extraction and OCR](https://awesome-repositories.com/f/awesome-lists/more/text-extraction-and-ocr.md) — Extracts text from screenshots or image files using optical character recognition for further processing.
- [Document QR Code Decoders](https://awesome-repositories.com/f/awesome-lists/devtools/qr-codes/document-qr-code-decoders.md) — Captures screen regions or reads image files to decode QR codes and return the embedded data.
- [Text To Speech](https://awesome-repositories.com/f/awesome-lists/media/text-to-speech.md) — Provides a silent text-to-speech function that reads selected content aloud without opening any interface.

### Development Tools & Productivity

- [Global Hotkey Managers](https://awesome-repositories.com/f/development-tools-productivity/global-hotkey-managers.md) — Ships a global hotkey event system to trigger translation, OCR, and text-to-speech without application focus.

### User Interface & Experience

- [Incremental Selection Accumulators](https://awesome-repositories.com/f/user-interface-experience/selectable-lists/multiple-selections/text-line-selection/incremental-selection-accumulators.md) — Activate a window with a hotkey, accumulate selected text as the user drags over words, then translate all at once when the hotkey is released. ([source](https://stranslate.zggsong.com/docs/))

### Web Development

- [Translation API Endpoints](https://awesome-repositories.com/f/web-development/translation-api-endpoints.md) — Exposes a RESTful API gateway for programmatic translation requests via GET or POST endpoints.

### Data & Databases

- [Translation Result Caches](https://awesome-repositories.com/f/data-databases/data-engineering-infrastructure/caching-performance/caching-strategies/query-result-caching/method-result-caches/translation-result-caches.md) — Stores previous translation results to serve repeated queries instantly with a force-fresh override.

### DevOps & Infrastructure

- [Application REST API Gateways](https://awesome-repositories.com/f/devops-infrastructure/rest-api-endpoint-management/application-rest-api-gateways.md) — Exposes translation, window management, and hotkey control through HTTP endpoints for external automation.

### Graphics & Multimedia

- [Silent Text-to-Speech Playback Engines](https://awesome-repositories.com/f/graphics-multimedia/audio-music/audio-streaming-engines/audio-playback-engines/silent-text-to-speech-playback-engines.md) — Reads selected text aloud silently in the background without opening any interface or showing notifications.

### Software Engineering & Architecture

- [Incremental Selection Accumulators](https://awesome-repositories.com/f/software-engineering-architecture/side-channel-data-accumulation/incremental-selection-accumulators.md) — Accumulates selected text during a drag operation and translates all at once when a hotkey is released.
- [Plugin-Based](https://awesome-repositories.com/f/software-engineering-architecture/translation-orchestrators/plugin-based.md) — Coordinates multiple translation services through a unified plugin interface for side-by-side result comparison.
