TranslatorPlus
TranslatorPlus 是一款客户端 Fabric 模组,它会在你输入聊天信息时实时翻译,在你发送任何内容之前完成。聊天输入框上方会出现一个小覆盖层,显示翻译后的文本。按下 Tab 键可将你的消息替换为翻译结果,然后正常发送。
来自其他玩家的 incoming 消息也可以自动翻译,这样你就可以在不退出游戏的情况下参与任何语言的对话。
Features
实时翻译覆盖层
随着你的输入,翻译会实时更新,并带有短暂的延迟以避免不必要的 API 调用。使用 Gemini 时,由于需要考虑 AI 响应时间,延迟会稍长一些。
多种翻译后端
支持六种不同的 API。你可以随时在设置界面中切换它们。
- Google Translate - 免费,无需配置
- MyMemory - 免费,无需配置
- Lingva Translate - 免费,支持自定义实例
- Gemini AI - 需要来自 Google AI Studio 的免费 API 密钥
- DeepL - 需要 DeepL API 密钥
- LibreTranslate - 免费,支持自托管实例
自动回退
如果选定的 API 失败或返回错误,模组会静默重试下一个可用的免费 API。无需手动干预。
语气重写(仅限 Gemini)
在消息前加上语气关键词,让 Gemini 在翻译前以特定风格重写它。例如,输入 [formal] hey can you help me 将生成正式的翻译。支持的语气包括:professional、formal、casual、friendly、funny、sarcastic、poetic、dramatic、gen-z、medieval、pirate 等。
Gemini 模型选择
直接从设置界面选择要使用的 Gemini 模型。一个按钮可加载适用于你 API 密钥的模型列表,让你无需离开游戏即可选择一个。
检测到的语言指示器
当源语言设置为自动检测时,覆盖层会与翻译一起显示已识别的语言代码。每种语言代码都以其国家旗帜的颜色显示。
翻译缓存
翻译结果会缓存在本地。相同的短语不会再次发送到 API,从而减少延迟和不必要的请求。
接收消息翻译
启用后,来自其他玩家的消息会被拦截并替换为翻译版本。原始文本在悬停时仍然可见。此功能使用与发送消息相同的 API。
快速切换
一个可配置的按键绑定让你无需打开任何菜单即可立即启用或禁用模组。操作栏中会显示简短的确认消息。
Usage
打开聊天并开始输入。翻译覆盖层会自动出现在输入框上方。按下 Tab 键将翻译应用到输入框,然后按 Enter 发送。
按下 反斜杠 (\) 打开设置界面,你可以在其中选择翻译 API、配置源语言和目標語言、输入 API 密钥以及调整所有其他选项。
Requirements
- Minecraft 1.21.1
- Fabric Loader
- Fabric API
TranslatorPlus
TranslatorPlus is a client-side Fabric mod that translates your chat messages in real time as you type them, before you send anything. A small overlay appears above the chat input field showing the translated text. Press Tab to replace your message with the translation, then send it normally.
Incoming messages from other players can also be translated automatically, so you can follow conversations in any language without leaving the game.
Features
Live translation overlay
The translation updates as you type with a short delay to avoid unnecessary API calls. When using Gemini, the delay is slightly longer to account for AI response times.
Multiple translation backends
Six different APIs are supported. You can switch between them at any time from the settings screen.
- Google Translate - free, no configuration required
- MyMemory - free, no configuration required
- Lingva Translate - free, supports custom instances
- Gemini AI - free API key from Google AI Studio
- DeepL - requires a DeepL API key
- LibreTranslate - free, supports self-hosted instances
Automatic fallback
If the selected API fails or returns an error, the mod silently retries with the next available free API. No manual intervention required.
Tone rewriting (Gemini only)
Prefix your message with a tone keyword to have Gemini rewrite it in a specific style before translating. For example, typing [formal] hey can you help me will produce a formal translation. Supported tones include: professional, formal, casual, friendly, funny, sarcastic, poetic, dramatic, gen-z, medieval, pirate, and more.
Gemini model selection
Choose which Gemini model to use directly from the settings screen. A button loads the list of models available for your API key so you can select one without leaving the game.
Detected language indicator
When the source language is set to auto-detect, the overlay shows which language was recognized alongside the translation. Each language code is displayed using the colors of its country flag.
Translation cache
Translations are cached locally. Identical phrases are not sent to the API again, reducing latency and unnecessary requests.
Incoming message translation
When enabled, messages from other players are intercepted and replaced with a translated version. The original text remains visible on hover. This feature uses the same API selected for outgoing messages.
Quick toggle
A configurable keybind lets you enable or disable the mod instantly without opening any menu. A short confirmation message appears in the action bar.
Usage
Open the chat and start typing. The translation overlay will appear above the input field automatically. Press Tab to apply the translation to the input field, then press Enter to send it.
Press backslash (\) to open the settings screen, where you can select the translation API, configure source and target languages, enter API keys, and adjust all other options.
Requirements
- Minecraft 1.21.1
- Fabric Loader
- Fabric API
评论 0
登录后参与评分
还没有评论,来抢沙发吧