# hillya51/lunatranslator

**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/hillya51-lunatranslator).**

12,030 stars · 1,102 forks · C++ · GPL-3.0

## Links

- GitHub: https://github.com/HIllya51/LunaTranslator
- Homepage: https://lunatranslator.org/
- awesome-repositories: https://awesome-repositories.com/repository/hillya51-lunatranslator.md

## Topics

`galgame` `ocr` `reverse-engineering` `translator` `visual-novel` `win32`

## Description

LunaTranslator is a real-time translation tool designed for visual novels and games. It functions as a multi-engine translation hub and text extractor that captures dialogue via memory hooking or optical character recognition to convert it into a target language.

The project distinguishes itself through specialized linguistic tools, including a Japanese text analyzer for sentence segmentation and phonetic readings. It also operates as a digital dictionary aggregator, querying multiple online and offline databases simultaneously to provide comprehensive vocabulary definitions for language learners.

The system covers a broad range of capabilities, including text-to-speech synthesis for audio generation and a sequential text processing pipeline for refining translations using custom glossaries and transformation rules. It supports various translation methods including commercial APIs, free online services, and offline engines, with the ability to extend functionality via custom translation scripting.

Text capture is handled through OCR engines, memory hooking, or system clipboard monitoring.

## Tags

### Artificial Intelligence & ML

- [Multi-Service Translation Aggregators](https://awesome-repositories.com/f/artificial-intelligence-ml/multilingual-content-translation/translation-result-comparison/multi-service-translation-aggregators.md) — Routes text through multiple translation services and scripts to compare and determine the most accurate result.
- [Linguistic Analyzers](https://awesome-repositories.com/f/artificial-intelligence-ml/japanese-text-translations/linguistic-analyzers.md) — Segments Japanese text into words and displays reading kana alongside dictionary lookups. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))
- [Offline Translation Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/neural-machine-translation/offline-translation-engines.md) — Utilizes locally installed translation engines to enable translation without an internet connection. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))
- [Multi-Engine Routing](https://awesome-repositories.com/f/artificial-intelligence-ml/neural-machine-translation/offline-translation-engines/multi-engine-routing.md) — Routes text through multiple offline and online engines to compare and vary translation quality. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))
- [Screen Text Extractors](https://awesome-repositories.com/f/artificial-intelligence-ml/optical-character-recognition/screen-text-extractors.md) — Uses OCR to capture non-selectable text from specific screen regions for real-time translation.
- [Real-Time Dialogue Extractors](https://awesome-repositories.com/f/artificial-intelligence-ml/optical-character-recognition/visual-translation-interfaces/real-time-dialogue-extractors.md) — Captures on-screen dialogue specifically from visual novels using OCR or memory hooking. ([source](http://hillya51.github.io/))
- [Real-Time Dialogue Translators](https://awesome-repositories.com/f/artificial-intelligence-ml/optical-character-recognition/visual-translation-interfaces/visual-novel-script-translators/real-time-dialogue-translators.md) — Captures and translates visual novel dialogue in real time using memory hooking or OCR.
- [Sequential Translation Pipelines](https://awesome-repositories.com/f/artificial-intelligence-ml/sequential-translation-pipelines.md) — Processes text through a sequence of extraction, segmentation, and translation filters.
- [Text Translation Services](https://awesome-repositories.com/f/artificial-intelligence-ml/text-translation-services.md) — Integrates various free web-based text translation services to convert game dialogue. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))
- [Translation API Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/translation-api-integrations.md) — Connects to commercial translation APIs to provide high-quality professional text conversion. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))
- [Translation Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/translation-engines.md) — Integrates both online and offline modular translation engines to convert extracted text. ([source](http://hillya51.github.io/))
- [Service Provider Abstractions](https://awesome-repositories.com/f/artificial-intelligence-ml/model-provider-abstractions/service-provider-abstractions.md) — Abstracts translation and speech synthesis APIs into a common interface to support switching between diverse providers.
- [Morphological Analysis](https://awesome-repositories.com/f/artificial-intelligence-ml/sentence-structure-analysis/morphological-analysis.md) — Provides linguistic analysis that segments foreign sentences into words and identifies their morphological features.
- [Text-to-Speech Synthesis](https://awesome-repositories.com/f/artificial-intelligence-ml/text-to-speech-synthesis.md) — Converts translated on-screen text into spoken audio output using AI-driven synthesis.
- [Translation Engine Plugins](https://awesome-repositories.com/f/artificial-intelligence-ml/translation-engine-plugins.md) — Loads user-written scripts to integrate translation engines not included in the default installation. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))

### Game Development

- [Real-Time Game Translators](https://awesome-repositories.com/f/game-development/real-time-game-translators.md) — Captures and translates game dialogue in real time using OCR or memory hooking for non-native speakers.
- [Game Memory Extraction](https://awesome-repositories.com/f/game-development/game-memory-modifiers/game-memory-extraction.md) — Extracts original dialogue strings directly from game memory addresses to avoid the inaccuracies of screen scraping.

### Part of an Awesome List

- [Optical Character Recognitions](https://awesome-repositories.com/f/awesome-lists/more/text-extraction-and-ocr/optical-character-recognitions.md) — Uses optical character recognition to extract text from visual screen data.

### Business & Productivity Software

- [Digital Dictionary Lookups](https://awesome-repositories.com/f/business-productivity-software/digital-dictionary-lookups.md) — Provides integrated lookups across multiple digital dictionaries to offer detailed word definitions.
- [Multi-Source Dictionary Applications](https://awesome-repositories.com/f/business-productivity-software/multi-source-dictionary-applications.md) — Aggregates vocabulary definitions from multiple online and offline dictionary sources into a single unified interface.

### Data & Databases

- [Text Extraction](https://awesome-repositories.com/f/data-databases/text-processing-utilities/text-extraction.md) — Isolates and retrieves text from applications using OCR when raw text access is unavailable.
- [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) — Caches translation results to avoid redundant API calls and reduce processing costs. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))
- [Text Processing Pipelines](https://awesome-repositories.com/f/data-databases/text-processing-pipelines.md) — Processes raw extracted text through a sequence of cleaning and optimization filters before final output.
- [Screen Capture Extraction](https://awesome-repositories.com/f/data-databases/text-processing-utilities/text-extraction/screen-capture-extraction.md) — Automates the capture of screen regions from games to convert visual content into text. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))
- [Dialogue Text Transformers](https://awesome-repositories.com/f/data-databases/text-processing-utilities/text-processing-tools/custom-text-tools/dialogue-text-transformers.md) — Applies user-defined functions to transform and clean dialogue text before it is displayed. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))

### Education & Learning Resources

- [Foreign Language Learning](https://awesome-repositories.com/f/education-learning-resources/foreign-language-learning.md) — Facilitates the study of foreign languages through linguistic analysis and reading aids. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))
- [Japanese Language Learning Tools](https://awesome-repositories.com/f/education-learning-resources/japanese-language-learning-tools.md) — Assists learners by segmenting Japanese text and providing phonetic readings and dictionary definitions.
- [Japanese Text Analysis Tools](https://awesome-repositories.com/f/education-learning-resources/japanese-text-analysis-tools.md) — Segments Japanese sentences into words and provides phonetic readings for language learners.

### Development Tools & Productivity

- [Translation Provider Scripts](https://awesome-repositories.com/f/development-tools-productivity/extensible-configuration-interfaces/behavioral-extension-scripts/translation-provider-scripts.md) — Allows users to extend the system with custom scripts to support new translation engines.
- [Screen Capture and Text Extraction](https://awesome-repositories.com/f/development-tools-productivity/screen-capture-utilities/screen-capture-and-text-extraction.md) — Retrieves visible text from the screen using OCR and other capture methods for translation. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))
- [Regex-Based Terminology Mapping](https://awesome-repositories.com/f/development-tools-productivity/technical-indexes/terminology-glossaries/regex-based-terminology-mapping.md) — Ensures terminology consistency by replacing generic machine translations with project-specific glossary terms.

### Software Engineering & Architecture

- [Glossaries](https://awesome-repositories.com/f/software-engineering-architecture/glossaries.md) — Manages specialized project terminology to ensure consistent translation of proper nouns. ([source](https://cdn.jsdelivr.net/gh/hillya51/lunatranslator@main/README.md))
- [Translation Term Mapping](https://awesome-repositories.com/f/software-engineering-architecture/glossaries/glossary-and-acronym-managers/translation-term-mapping.md) — Overrides automated translation outputs using specialized dictionaries to ensure terminology consistency.
