# 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
Click to view * [Artikash/Textractor](https://github.com/Artikash/Textractor) * [RapidAI/RapidOcrOnnx](https://github.com/RapidAI/RapidOcrOnnx) * [PaddlePaddle/PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR) * [UlionTse/translators](https://github.com/UlionTse/translators) * [Blinue/Magpie](https://github.com/Blinue/Magpie) * [nanokina/ebyroid](https://github.com/nanokina/ebyroid) * [xupefei/Locale-Emulator](https://github.com/xupefei/Locale-Emulator) * [InWILL/Locale_Remulator](https://github.com/InWILL/Locale_Remulator) * [zxyacb/ntlea](https://github.com/zxyacb/ntlea) * [@KirpichKrasniy](https://github.com/KirpichKrasniy)
## Support author If you feel that the software is helpful to you, welcome to become my [sponsor](https://patreon.com/test123456654321). Thank you ~