LinguaChat 让你的 Minecraft 交流无障碍,支持任意语言,自动翻译聊天消息,且不会中断游戏体验!
你可以在配置文件中设置双向(客户端/服务器)的翻译方向。详见下方说明。
? 安装方法
- 为你的 Minecraft 版本安装 Fabric Loader
- 安装与你版本匹配的 Fabric API
- 下载对应版本的 LinguaChat
对于官方 Minecraft 启动器:
- 将 JAR 文件放入你的
mods 文件夹:
- Windows:
%APPDATA%\.minecraft\mods
- Linux:
~/.minecraft/mods
- macOS:
~/Library/Application Support/minecraft/mods
对于 Prism Launcher 及其他基于实例的启动器:
- 打开实例设置 → Mods 选项卡
- 点击 Add / Install Mods 并选择 JAR 文件
- 确保此实例已安装 Fabric API
最后一步:
- 使用 Fabric 配置文件启动 Minecraft
? 使用示例
正确配置后,模组会自动翻译消息:
Player1: привет
[Chat for you]: hello
Player2: hello
[Chat for you]: привет
[!TIP]
将鼠标悬停在翻译后的消息上即可查看原始文本!
⚙️ 配置
模组设置可通过游戏内的 K 键访问。
你也可以直接编辑文件:config/linguachat.json
快捷键
| 按键 |
操作 |
| K |
打开设置界面 |
| N |
切换 outgoing message 翻译开关 |
设置项
| 参数 |
默认值 |
描述 |
enabled |
true |
启用/禁用模组 |
translateIncoming |
true |
翻译传入消息 |
translateOutgoing |
true |
翻译传出消息 |
defaultSourceLang |
"auto" |
源语言(auto 表示自动检测) |
defaultTargetLang |
"en" |
传入消息(其他玩家发送的消息)和传出消息(你发送到服务器的消息)的目标语言 |
preferredTranslator |
"google" |
提供商:google、deepl、kagi |
deeplApiKey |
"" |
DeepL API 密钥 |
kagiApiKey |
"" |
Kagi API 令牌 |
kagiSessionToken |
"" |
Kagi 会话令牌 |
showOriginalOnHover |
true |
悬停时显示原文 |
cacheSize |
512 |
翻译缓存大小 |
debugMode |
false |
调试日志记录 |
翻译提供商
| 提供商 |
费用 |
API 密钥 |
支持语言 |
| Google |
免费 |
不需要 |
100+ |
| DeepL |
免费/付费 |
获取 API 密钥 |
30+ |
| Kagi |
Kagi Pass |
API 令牌,或来自 DevTools 的 kagi_session cookie 值。会话链接本身无效(它是 OAuth 登录页面,而非令牌)。 |
多种 |
? 报告问题
发现 bug 或有建议?请创建 issue:
?
请包含以下信息:
- Minecraft 版本
- 模组版本
- 日志片段
- 复现步骤
LinguaChat makes your communication in Minecraft accessible in any language, automatically translating chat messages without interrupting gameplay!
You can configure the translation directions for both sides (Client/Server) in the configuration file See description below.
? Installation
- Install Fabric Loader for your Minecraft version
- Install Fabric API matching your version
- Download LinguaChat for your version
For official Minecraft Launcher:
- Place the JAR file in your
mods folder:
- Windows:
%APPDATA%\.minecraft\mods
- Linux:
~/.minecraft/mods
- macOS:
~/Library/Application Support/minecraft/mods
For Prism Launcher and other instance-based launchers:
- Open instance settings → Mods tab
- Click Add / Install Mods and select the JAR file
- Make sure Fabric API is installed for this instance
Final step:
- Launch Minecraft with Fabric profile
? Usage Example
When properly configured, the mod automatically translates messages:
Player1: привет
[Chat for you]: hello
Player2: hello
[Chat for you]: привет
[!TIP]
The original text of the message is available by hovering over the translated message!
⚙️ Configuration
Mod settings are accessible via the K key in-game.
You can also edit the file directly: config/linguachat.json
Keybinds
| Key |
Action |
| K |
Open settings screen |
| N |
Toggle outgoing message translation |
Settings
| Parameter |
Default |
Description |
enabled |
true |
Enable/disable the mod |
translateIncoming |
true |
Translate incoming messages |
translateOutgoing |
true |
Translate outgoing messages |
defaultSourceLang |
"auto" |
Source language (auto for detection) |
defaultTargetLang |
"en" |
Target language for both incoming messages (messages from other players) and outgoing messages (your messages sent to server) |
preferredTranslator |
"google" |
Provider: google, deepl, kagi |
deeplApiKey |
"" |
DeepL API key |
kagiApiKey |
"" |
Kagi API token |
kagiSessionToken |
"" |
Kagi session token |
showOriginalOnHover |
true |
Show original on hover |
cacheSize |
512 |
Translation cache size |
debugMode |
false |
Debug logging |
Translation Providers
| Provider |
Cost |
API Key |
Languages |
| Google |
Free |
Not required |
100+ |
| DeepL |
Free/Paid |
Get API Key |
30+ |
| Kagi |
Kagi Pass |
API Token, or the kagi_session cookie value from DevTools. The session link itself does not work (it's an OAuth login page, not a token). |
Multiple |
? Reporting Issues
Found a bug or have a suggestion? Create an issue:
?
Please include:
- Minecraft version
- Mod version
- Log excerpts
- Steps to reproduce
评论 0
登录后参与评分
还没有评论,来抢沙发吧