跳到正文

mc翻译器

作者:maxluof

This project utilises the Microsoft Translator API to achieve translation, providing high-quality and free translation services.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Chinese Translator (Fabric client mod)

A client-side Minecraft Fabric mod that automatically translates foreign-language text into Chinese, using the free Microsoft Edge translation endpoint — no API key required. It runs asynchronously on background threads so it won’t block the game.

What it does

1. Auto chat translation

  • Intercepts both incoming player messages and server/system messages.
  • Skips text that already contains Chinese; anything else is translated and shown directly beneath the original message, prefixed with a gray [翻译] (Translation) tag.

2. Written-book translation

  • Adds a translate button to the book-reading screen.
  • Translates every page of a book at once, caches the result, and lets you toggle between the original and the translated view (shows “翻译中…” / Translating while it works).

3. Sign translation

  • When you look at a sign, it reads the sign’s text, translates it, and displays the original + translation on the HUD. Results are cached per block position, and it can be toggled in the config.

4. Manual translate command

  • /t <text> — translates whatever you type into the configured target language and sends it.

Configuration (chinese-translator.json)

  • enabled – master on/off switch
  • targetLanguage – destination language, default zh-CHS (Simplified Chinese)
  • translatePrefix – label shown before translations, default §7[翻译]
  • maxTextLength, timeoutSeconds – length cap and request timeout
  • signTranslationEnabled – toggle sign translation separately

Requirements: Fabric Loader ≥ 0.19.3, Minecraft 26.2.x, Java ≥ 25, and Fabric API; client-side only.

常见问题

mc翻译器 支持哪些 Minecraft 版本?

mc翻译器 支持 Minecraft Java 版 1.20.1–26.2,共 11 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

mc翻译器 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分