2024-07-04 08:05:08 +08:00
# LunaTranslator
2024-01-08 23:37:00 +08:00
< p align = "left" >
2024-07-08 14:37:25 +08:00
< a href = "./LICENSE" > < img src = "https://img.shields.io/github/license/HIllya51/LunaTranslator" > < / a >
< a href = "https://lunatranslator.xyz/Github/LunaTranslator/releases" > < img src = "https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa" > < / a >
2024-07-08 01:42:49 +08:00
< a href = "https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator.zip" target = "_blank" > < img src = "https://img.shields.io/badge/download_64bit-blue" / > < / a > < a href = "https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target = "_blank" > < img src = "https://img.shields.io/badge/download_32bit-blue" / > < / a >
2024-01-08 23:37:00 +08:00
< / p >
2024-07-05 02:49:13 +08:00
### [简体中文](README.md) | [Русский язык](README_ru.md) | English | [Other Languages](otherlang.md)
2024-01-08 23:37:00 +08:00
> **A galgame translator**
2024-07-16 17:19:38 +08:00
2024-07-25 18:54:11 +08:00
### [Tutorial](https://docs.lunatranslator.xyz/#/en/) [Vedio](https://space.bilibili.com/592120404/video) [Discord](https://discord.gg/ucAcF8hG)
2024-04-23 01:05:04 +08:00
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
## Features
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
#### Text sources
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **Clipboard** Support reading text from the clipboard for translation
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **OCR** Support offline OCR (deployed), WindowsOCR, Baidu OCR, Youdao OCR, ocrspace, docsumo, and binding to game window to avoid overlap.
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **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
2024-01-08 23:37:00 +08:00
#### Translators
Support almost all translation engines you can think of, including:
2024-07-05 02:49:13 +08:00
    **Offline Translation**: J-Beijing 7, Kingsoft FastAIT, YiDianTong, Sakura, TGW, Sugoi
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **Free Online Translation**: Baidu, Bing, Google, Ali, Youdao, Caiyun, Sogou, DeepL, Kingsoft, iFlytek, Tencent, ByteDance, Volcano, Papago, Yeekit, and more
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **API Online Translation**: Baidu, Tencent, Youdao, Niutrans, Caiyun, Volcano, DeepL, Yandex, Google, IBM, Feishu, ChatGPT, Azure, Cohere, Claude, Gemini, and more (requires user registration)
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **Chrome Debug Translation**: DeepL, Yandex, Youdao, Baidu, Tencent, Bing, Caiyun, Niutrans, Ali, Google, OpenAI
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **Pre-translation** Support reading human translation and aggregating machine pre-translation files
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **Custom Translation Extension** Support the use of Python language to extend other translation interfaces I don't know
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
#### Speech Synthesis
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **Offline TTS**: Windows TTS, VoiceRoid2, VoiceRoid+, NeoSpeech, VOICEVOX, VITS, and more
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **Online TTS**: Volcano TTS, Youdao TTS, Edge TTS, Google TTS, and more
2024-01-08 23:37:00 +08:00
#### Translation optimization
2024-07-05 02:49:13 +08:00
    **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
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **Translation Optimization**: Supports custom proper noun translations and importing VNR shared dictionaries
2024-01-08 23:37:00 +08:00
#### Japanese learning
2024-07-05 02:49:13 +08:00
    **Japanese Word Segmentation and Furigana Display** Supports MeCab and other tokenizers for word segmentation and furigana display to help you read
2024-01-08 23:37:00 +08:00
2024-07-05 02:49:13 +08:00
    **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
2024-01-08 23:37:00 +08:00
2024-07-04 08:05:08 +08:00
## References
2024-01-08 23:37:00 +08:00
< details >
< summary > Click to view< / summary >
* [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 )
< / details >
2024-07-04 08:05:08 +08:00
## Support author
2024-01-08 23:37:00 +08:00
2024-07-08 01:52:31 +08:00
If you feel that the software is helpful to you, welcome to become my [sponsor ](https://patreon.com/HIllya51 ). Thank you ~
2024-07-05 02:49:13 +08:00
< img src = '. \\LunaTranslator \\files \\zan.jpg' style = "height: 400px !important;" >