Translation Engine Settings
In this panel, you can configure the translation mode, service type, vendor, and credentials for the text translation engine and the voice translation engine separately. The entry points for setting the source and target languages are as follows:
- OCR (text) translation source/target language: Configured in the "Translation Language Settings" of OCR Image Translation Settings.
- Voice translation source/target language: Configured in the "Speaker / Microphone Voice Translation Settings" of Voice Translation Settings.
The source language can be set to auto-detect, so you don't need to manually adjust it when switching game languages; the target language is usually set to your native language (such as Simplified Chinese).
Text Translation Engine Settings
Configure the engine used for OCR screenshot text translation.
Translation Mode
Select the processing channel for translation requests:
- Built-in Translation Service: Directly use the service integration built into the project, ready to use out of the box without applying for development keys on the platform.
- Custom Configuration: Suitable for users who have already applied for relevant platform API keys on their own, or have deployed inference models locally.
- Local Translation: Use the bundled Hy-MT2 local translation model for fully offline translation, with no internet connection or API keys required. The local model loads on demand and automatically unloads after 30 seconds of inactivity to free memory.
- Inference Core Count: The number of CPU inference cores used for local translation (range
1to the device core count, default4).
- Inference Core Count: The number of CPU inference cores used for local translation (range
Service Type
Select which type of translation engine to use:
- General Translation Service: Traditional "word-to-word / sentence-to-sentence" machine translation with fast response speed. Includes mainstream services such as Tencent, Microsoft, Volcano Engine, Alibaba, Baidu, Youdao, Google, DeepL, and Huawei. (Youdao Translation and Huawei Translation are shown depending on availability.)
- LLM Large Model Service: Based on large language models, better at context understanding and tone polishing. Includes services such as OpenAI, DeepSeek, Alibaba Bailian (Tongyi Qianwen), Volcano Engine (Doubao), SiliconFlow, Anthropic, Google Gemini, Tencent Hunyuan, Kimi, MiniMax, Baidu Qianfan, xAI, and Zhipu.
Preferred Vendor and Model
- Preferred Vendor: Select from the vendor list corresponding to the service type above.
- Preferred Model: Only valid for LLM services. In built-in mode, the available model list for that vendor is automatically fetched for selection; in custom mode, you can manually enter the model name.
Service Credentials
- Built-in Service Authentication: In built-in mode, some vendors require you to fill in the auth username and auth password assigned by the service provider.
- Custom Service Authentication: In custom mode, according to the selected service type, the following input items are displayed:
- API ID: Some service providers (such as Baidu Translate) require providing an application ID at the same time, fill it in here.
- API KEY: Fill in the API key generated by the corresponding service provider.
- Model Name: Only valid for LLM mode. Fill in the specific model you want to use, such as
deepseek-chat,gpt-4o-mini,glm-4. - API URL: Only valid for LLM mode. If you use locally deployed Ollama, LM Studio, or proxy relay services, you can fill in the custom interface address here (such as
http://localhost:11434/v1/chat/completions); leave blank to use the default interface of the selected service provider. - Prompt: Only valid for LLM mode. Used to customize the translation style and requirements of the model. The default prompt is "You are a translation expert, the text to be translated is the result of OCR recognition...".
Voice Translation Engine Settings
Configure the translation engine used for voice translation.
Translation Mode
- Local (default): Use the bundled Hy-MT2 local translation model for offline translation.
- Custom: Use your own API keys to access third-party translation services.
Note: Voice translation does not support the built-in translation service mode; only local and custom modes are supported. Voice translation uses an independent vendor / credential configuration.
Service Type and Vendor
Same as text translation, supporting General Translation Service and LLM Large Model Service, with the same vendor list. Voice translation's custom credentials (API ID / API KEY / Model Name / Prompt / API URL) are saved independently from text translation.
Voice Translation Default Prompt
The default LLM prompt for voice translation is: "You are a voice translation expert, the input is continuous speech-recognized segments...", which differs from the default prompt for text translation.
Service Status Prompt
When selecting "Built-in" mode, if the system is loading the available interface list, a rotating loading animation will be displayed next to the dropdown box. If the request fails due to network issues, it will be displayed in red countdown text, at which point you can wait for a retry or switch to "Custom" mode.
In built-in mode, some services that are temporarily unavailable or lack credentials will be marked as disabled / prompted in the interface.