? 描述
TDSMP Translate 使用 Azure 翻译器 API,实时翻译来自书籍、告示牌、聊天内容,甚至讲台上的书籍中的文本!
这是 PlumelS 制作的 TranslateOverlay 的修改版本。
⚠️ 必需依赖项
本模组原生为 Fabric 模组。但已配置通过兼容层在 Forge 1.20.1 上运行。为了使该模组正常运行且不崩溃,你必须在 mods 文件夹中安装以下依赖项:
⚙️ 主要命令
使用这四个主要命令来控制你的实时翻译设置:
/translator from auto-detect
设置你要从中翻译的源语言。
/translator to [language_code]
设置你要翻译到的目标语言。
/translator toggleChat
开启或关闭聊天翻译功能。
/translator toggleItem
开启或关闭物品翻译功能。
? 提示: 如果你不知道用于自己语言的正确代码,请参阅 Wikipedia ISO 639 语言代码列表(第一组)。
?️ 服务器设置与配置
如果你想在多人游戏服务器上使用此翻译器,你需要设置自己的个人 Azure Translator API 密钥。生成后,在模组的配置文件中添加并修改所需的凭据。
? 整合包政策与致谢
- 你完全被允许在你的整合包中包含此模组!
- 署名要求: 你必须提供指向本项目页面的可见链接。
- 原始模组署名: TranslateOverlay,作者 PlumelS。
? Description
TDSMP Translate uses the Azure Translator API to translate text from books, signs, chat, and even books on lecterns—all in real-time!
This is a modified version of TranslateOverlay by PlumelS.
⚠️ Required Dependencies
This is natively a Fabric mod. However, it has been configured to run on Forge 1.20.1 using a compatibility layer. For this mod to work without crashing, you must install the following dependencies in your mods folder:
- Sinytra Connector: The technical bridge that translates Fabric code to run on Forge.
- Forgified Fabric API: The essential port of Fabric API built specifically for this compatibility layer.
⚙️ Main Commands
Use these four primary commands to control your real-time translation settings:
/translator from auto-detect
Sets the source language you want to translate from.
/translator to [language_code]
Sets the target language you want to translate to.
/translator toggleChat
Toggles chat translation on or off.
/translator toggleItem
Toggles item translation on or off.
? Tip: If you do not know the correct code to use for your language, refer to the Wikipedia ISO 639 Language Codes List (Set 1).
?️ Server Setup & Configuration
If you want to use this translator on a multiplayer server, you must set up your own personal Azure Translator API keys. Once generated, add and modify the required credentials inside the mod's configuration file.
? Modpack Policy & Credits
- You are fully allowed to feature this mod in your modpacks!
- Credit Requirement: You must provide a visible link back to this project page.
- Original Mod Credit: TranslateOverlay by PlumelS.
评论 0
登录后参与评分
还没有评论,来抢沙发吧