# LunaTranslator
### [简体中文](README.md) | [Русский язык](README_ru.md) | English | [Other Languages](otherlang.md) > **A galgame translator** ### Documentation Welcome friends who want to help us improve the documentation! [Documentation Repo](https://github.com/test123456654321/LunaTranslator) ## Features #### Text sources **Clipboard** Support reading text from the clipboard for translation **OCR** Support offline OCR (deployed), WindowsOCR, Baidu OCR, Youdao OCR, ocrspace, docsumo, and binding to game window to avoid overlap. **HOOK** Supports text extraction via hooking, Hook codes (H-codes), automatic game and hook saving, and auto-loading hooks. Some engines also support embedded translation #### Translators Support almost all translation engines you can think of, including: **Offline Translation**: J-Beijing 7, Kingsoft FastAIT, YiDianTong, Sakura, TGW, Sugoi **Free Online Translation**: Baidu, Bing, Google, Ali, Youdao, Caiyun, Sogou, DeepL, Kingsoft, iFlytek, Tencent, ByteDance, Volcano, Papago, Yeekit, and more **API Online Translation**: Baidu, Tencent, Youdao, Niutrans, Caiyun, Volcano, DeepL, Yandex, Google, IBM, Feishu, ChatGPT, Azure, Cohere, Claude, Gemini, and more (requires user registration) **Chrome Debug Translation**: DeepL, Yandex, Youdao, Baidu, Tencent, Bing, Caiyun, Niutrans, Ali, Google, OpenAI **Pre-translation** Support reading human translation and aggregating machine pre-translation files **Custom Translation Extension** Support the use of Python language to extend other translation interfaces I don't know #### Speech Synthesis **Offline TTS**: Windows TTS, VoiceRoid2, VoiceRoid+, NeoSpeech, VOICEVOX, VITS, and more **Online TTS**: Volcano TTS, Youdao TTS, Edge TTS, Google TTS, and more #### Translation optimization **Text Processing**: Supports over a dozen common text processing methods, from simple processing such as text de-duplication and filtering line breaks, to complex regular expression replacement and even writing your own custom Python preprocessor **Translation Optimization**: Supports custom proper noun translations and importing VNR shared dictionaries #### Japanese learning **Japanese Word Segmentation and Furigana Display** Supports MeCab and other tokenizers for word segmentation and furigana display to help you read **Dictionary Lookup**: Supports MDICT, Shogakukan, Lingoes, EDICT, Youdao, Weblio, Goo, Moji, Jisho, and other online and offline dictionaries **Anki Integration**: Supports one-click addition of words to Anki ## References