Chat Translator
此模组引入了一个聊天翻译器,允许你用母语阅读聊天内容,并将你的消息翻译成你选择的语言。这是通过设备端语言识别与基于云端的翻译服务(包含免费和付费选项)相结合实现的。
安装与使用
你可以在 Fabric 1.21.5 上安装此模组(请注意,此模组需要安装 Fabric-API!)。加入游戏后,你可以按下右 Shift 键打开设置 GUI。在这里,你可以设置你的语言、传入消息的翻译方式(自动、手动、禁用)以及传出消息的翻译方式。在当前测试版中,你无法更改所使用的语言识别和翻译服务,但请放心,这些服务是免费的,且无需进行任何配置。

以免费且简单的方式实现这一点
为了避免所谓的“供应商锁定”并保持此模组完全免费,你可以在设置菜单中选择在此模组中使用的服务和工具。以下是概览:
语言识别
语言识别用于确定消息所使用的语言。
| Service |
Local |
Free/Paid |
Available in beta |
| Lingua |
Yes (Local) |
Free |
Yes (Available) |
| FastText |
Yes (Local) |
Free |
No (Not available) |
| OpenLID-v2 |
No (Cloud) |
Free |
No (Not available) |
| OpenLID-v2-Pro |
No (Cloud) |
Paid |
No (Not available) |
翻译
翻译功能用于处理传入和传出消息的翻译。
| Service |
Local |
Free/Paid |
Available in beta |
| LibreTranslate |
No (Cloud) |
Free |
Yes (Available) |
| Tiny-Translator |
Yes (Local) |
Free |
No (Not available) |
| DeepL |
No (Cloud) |
Paid |
No (Not available) |
| ChatGPT |
No (Cloud) |
Paid |
No (Not available) |
| MC-Translator |
No (Cloud) |
Paid |
No (Not available) |
外部服务
那么,此模组如何使用外部服务(所有标记为云端的 LI 和翻译器)呢?
对于以下服务,我们直接调用其 API,并要求用户提供 API 密钥(本地存储):
- DeepL
- ChatGPT
对于所有其他免费服务,我们部署并维护自己的基础设施。由于计算需求相对较低(OpenLID-v2, LibreTranslate),我们可以免费维护这些服务,同时我们也限制了每秒可以识别或翻译的消息数量。
对于其余专为该用例维护的付费选项(OpenLID-v2-Pro, MC-Translator),我们的目标是专门优化 AI 模型,使其更好地适应平均 Minecraft 聊天环境。这需要更多的计算资源,但我们旨在以远低于其他所有付费选项的价格部署并允许任何人使用(因为目标不是盈利,而是可访问性)。
支持
请注意,在测试版中可能会出现更多错误和问题!
欢迎点击 这里 加入 Discord 获取支持。
Chat Translator
This mod introduces a chat translator that allows you to read the chat in your native language and translate your messages to a language of your chosing. This is achieved by a combination of on-device language identification and cloud-based translation services (both free & paid).
Installing & Using
You can install this mod on Fabric 1.21.5 (please note this mod requires Fabric-API to be installed!). After joining, you are able to use right-shift to open a settings GUI. Here, you can set your language, how we should translate incoming messages (automatic, manual, disabled) and how we should translate outgoing messages. For the current beta version you are unable to change the language identification & translation service used, but rest assured these are free and do not need to be configured in any way.

Achieving this in a free and easy way
To avoid something known as "vendor lock-in" and to keep this mod completely free you can decide what services and tools to use within this mod in the settings menu. Here is an overview!
Language identification
Language identification is used to determine what language a message is in.
| Service |
Local |
Free/Paid |
Available in beta |
| Lingua |
Yes (Local) |
Free |
Yes (Available) |
| FastText |
Yes (Local) |
Free |
No (Not available) |
| OpenLID-v2 |
No (Cloud) |
Free |
No (Not available) |
| OpenLID-v2-Pro |
No (Cloud) |
Paid |
No (Not available) |
Translation
Translations are used to translate messages both incoming and outgoing.
| Service |
Local |
Free/Paid |
Available in beta |
| LibreTranslate |
No (Cloud) |
Free |
Yes (Available) |
| Tiny-Translator |
Yes (Local) |
Free |
No (Not available) |
| DeepL |
No (Cloud) |
Paid |
No (Not available) |
| ChatGPT |
No (Cloud) |
Paid |
No (Not available) |
| MC-Translator |
No (Cloud) |
Paid |
No (Not available) |
External services
So how does this mod use external services (all LI's & translators marked as cloud)?
For the following services we simply call their API and require an API-key from the user (stored locally):
- DeepL
- ChatGPT
For all other free services we deploy and maintain our own infrastructure. This can be maintained for free thanks to the relatively low computational requirements (OpenLID-v2, LibreTranslate) where we also limit the amount of messages a second that can be identified or translated.
For the remaining paid options that are maintained specifically for this use-case (OpenLID-v2-Pro, MC-Translator) we aim to specifically make AI models to perform better for the average minecraft chat, which costs a bit more of compute which we aim to deploy and allow anyone to use well below all other paid options (as the goal is not profit but accessibility).
Support
Please note that on a beta version there may be an increased amount of bugs and issues!
You are welcome in Discord for support by clicking here.
评论 0
登录后参与评分
还没有评论,来抢沙发吧