As the original author has indicated that development has been abandoned, this project is a continuation of Moirstral/AutoTranslation.
Automatically translate untranslated language files in Minecraft, so you can enjoy any mod in your preferred language without waiting for manual translations or PRs to be merged.
⚠️ V2.0.0 Breaking Changes: Migrated from Architectury (Forge/Fabric) to pure NeoForge, now only supports Minecraft 1.21.1. The screen translation feature has been removed — only language file auto-translation is retained. See CHANGELOG for details.
Many Minecraft mods are English-only. Even if you submit a translation PR, the update cycle is unpredictable, and many mod authors don't accept translation PRs at all. While there are existing "auto translation" mods, they still suffer from delayed updates, untranslated niche mods, and inability to handle hardcoded text.
AutoTranslation Next was created to solve exactly these pain points — it automatically detects and translates missing language entries during resource loading, without modifying any mod files. Translations are cached locally, ready to be polished and exported as a resource pack anytime.
The core feature. When Minecraft loads resources, AutoTranslation Next detects language entries that are missing a translation for your current game language, translates them using the configured engine, and injects the translations at runtime — all without modifying any mod files.
.json)AutoTranslationNext/ folder under your game directory, where you can review, polish, and even repackage them into a resource pack/auto_translation reload to hot-reload translations without restarting| Engine | Description |
|---|---|
| Google Translate (default) | Automatically selects the optimal domain on first launch based on game language: Simplified Chinese uses google-translate-proxy.tantu.com (China-accessible), all other languages use translate.google.com. The google.domain config option can also be manually set. |
| AAAABBBB | Test-purpose translator. Always returns "AAAABBBB" for all inputs. Useful for verifying the translation pipeline is working correctly. |
A configurable regex pattern (default: ^(?!.*%[A-Za-z0-9])(?!.*_)(?=.*([A-Z]?[a-z]{2,})).+$) ensures only actual English text gets translated, while skipping:
%s, %1$d)All settings are configurable via the in-game mod menu (Cloth Config UI). Options include:
Auto cache cleanup: Changing key settings (filter mode, regex, language, translator, word blacklist) automatically clears the translation cache and prompts you to restart for changes to take effect.
The HTTP client uses JDK's built-in java.net.http.HttpClient — no Apache HttpClient, no OkHttp, no extra libraries needed beyond the mod loader and Cloth Config.
Polish the auto-translated text and export it as a standard Minecraft resource pack:
/auto_translation pack_resource full # Full export
/auto_translation pack_resource increment # Incremental export (changes only)
This is especially useful for modpack creators and translation teams.
| Dependency | Required | Notes |
|---|---|---|
| NeoForge | ✅ | Minecraft 1.21.1 |
| Cloth Config API | ✅ | v15+ |
All commands require confirmation first. Run /auto_translation confirm before executing any other command:
/auto_translation reload Reload translated resources
/auto_translation confirm Confirm pending command execution
/auto_translation pack_resource full Export full resource pack
/auto_translation pack_resource increment Export incremental resource pack
Open Mods → AutoTranslation Next → Config (requires Cloth Config API) to access all settings in-game. Alternatively, edit the config file at config/autotranslation.json.
Key configuration items:
AutoTranslation Next has an extensible translator architecture. To add a custom translation engine:
ITranslator interfaceTranslatorManager.registerTranslator(String name, Supplier<ITranslator> getInstance)// Example: register a custom translator
TranslatorManager.registerTranslator("my_translator", MyTranslator::new);
Your translator will then appear as an option in the in-game config menu.
AutoTranslationNext/ folder under your game directoryThe AutoTranslationNext/ folder contains:
You can manually polish the translated files and use the pack_resource command to package them into a standard Minecraft resource pack for distribution.
This mod is developed and maintained for the following versions only. Version adaptation requests outside this table will not be considered.
| Game Version / Loader | Support Status |
|---|---|
| 1.21.1 NeoForge | Active |
| 26.2 NeoForge | Coming soon |
This project is licensed under the GNU Affero General Public License v3.0.
由于原作者表示放弃开发,所以本项目是 Moirstral/AutoTranslation 的续更版。
自动翻译 Minecraft 中未翻译的语言文件,让你无需等待人工翻译或 PR 合并,就能用自己喜欢的语言畅玩任何模组。
⚠️ V2.0.0 重大变更: 从 Architectury (Forge/Fabric) 迁移至纯 NeoForge,仅支持 Minecraft 1.21.1。屏幕翻译功能已移除,仅保留语言文件自动翻译。详见 CHANGELOG。
很多模组只有英文,即使向作者提交翻译 PR,更新周期也不确定,更有不少模组根本不接受翻译 PR。虽然已有「自动汉化更新」模组,但仍存在更新不及时、小众模组无人翻译、硬编码文本无法汉化等问题。
AutoTranslation Next 正是为解决这些痛点而生——它在游戏加载资源时自动检测并翻译缺失的语言条目,不修改任何模组文件,翻译结果缓存在本地,可随时润色、导出为资源包。
核心功能。游戏加载资源时,自动检测缺少当前语言翻译的文本条目,调用翻译引擎进行翻译并注入——全程不修改任何模组文件。
.json)的模组AutoTranslationNext/ 文件夹中,可手动润色后打包为资源包——对整合包和汉化组尤其有用/auto_translation reload 热重载翻译,无需重启游戏| 引擎 | 说明 |
|---|---|
| 谷歌翻译(默认) | 首次启动时根据游戏语言自动选择最优域名:简体中文使用 google-translate-proxy.tantu.com(国内可直连),其他语言使用 translate.google.com。也可手动修改 google.domain 配置项。 |
| AAAABBBB | 测试用翻译器,所有翻译固定返回 "AAAABBBB",方便验证翻译管线是否正常工作 |
通过可配置的正则表达式精确识别需要翻译的英文文本。默认正则 ^(?!.*%[A-Za-z0-9])(?!.*_)(?=.*([A-Z]?[a-z]{2,})).+$ 会智能跳过:
%s、%1$d)通过游戏内模组菜单(Cloth Config)即可配置所有参数:
自动清理缓存: 修改筛选模式、正则、语言、翻译引擎、单词黑名单等关键设置时,自动删除翻译缓存并提示重启生效。
HTTP 客户端采用 JDK 内置的 java.net.http.HttpClient,无需 Apache HttpClient、OkHttp 等任何额外网络库。
润色翻译结果后,可直接导出为标准 Minecraft 资源包:
/auto_translation pack_resource full # 全量打包
/auto_translation pack_resource increment # 增量打包(仅变更部分)
对整合包作者和汉化组极其便利。
| 前置 | 必须 | 备注 |
|---|---|---|
| NeoForge | ✅ | Minecraft 1.21.1 |
| Cloth Config API | ✅ | v15+ |
所有指令需要先确认执行。先运行 /auto_translation confirm,再执行其他指令:
/auto_translation reload 重载翻译资源
/auto_translation confirm 确认执行指令
/auto_translation pack_resource full 全量打包资源包
/auto_translation pack_resource increment 增量打包资源包
在游戏中打开 Mods → AutoTranslation Next → Config(需安装 Cloth Config API)即可可视化配置。也可直接编辑 config/autotranslation.json 配置文件。
主要配置项:
AutoTranslation Next 拥有可扩展的翻译器架构。添加自定义翻译引擎:
ITranslator 接口TranslatorManager.registerTranslator(String name, Supplier<ITranslator> getInstance) 注册// 示例:注册自定义翻译器
TranslatorManager.registerTranslator("my_translator", MyTranslator::new);
注册后,你的翻译器会自动出现在游戏内的翻译引擎选项中。
AutoTranslationNext/ 文件夹中AutoTranslationNext/ 文件夹内容:
你可以手动润色翻译文件,然后用 pack_resource 指令打包为标准 Minecraft 资源包进行分发。
模组仅在以下版本上开发和维护,暂不考虑表格之外的版本适配请求。
| 游戏版本 / 加载器 | 支持状态 |
|---|---|
| 1.21.1 NeoForge | 持续更新 |
| 26.2 NeoForge | 即将支持 |
本项目基于 GNU Affero General Public License v3.0 开源。