Skip to content

ForeignServerTranslator v1.0.0

Choose a tag to compare

@github-actions github-actions released this 23 May 15:03
· 15 commits to main since this release

中文

ForeignServerTranslator v1.0.0 首个发布版。

功能

  • 在服务器列表卡片上标记外语服务器。
  • 加入已标记服务器后,自动翻译其他玩家消息并显示在原消息下方。
  • 异步翻译期间显示 =>... 占位行,完成后原位替换,避免译文错位。
  • 拦截自己按 Enter 发送的聊天,翻译成服务器语言后再发送。
  • 支持 /RU/JP/JR 等语言代码临时覆盖发送目标语言。
  • 默认使用 Microsoft Translator;也支持 OpenAI 兼容接口。
  • OpenAI 模式支持前文消息、Mindustry bundle key 术语提示、Prompt 日志输出。
  • 设置界面已做中英 i18n,并带语言下拉选项和 token 用量统计。

安装

下载 ForeignServerTranslator-v1.0.0.jar,放入 Mindustry 的 mods 目录后重启游戏。安卓端同样使用 jar,包内包含 classes.dex

English

ForeignServerTranslator v1.0.0 first release.

Features

  • Mark foreign-language servers in the multiplayer server list.
  • Translate other players' messages on marked servers and show translations under the original line.
  • Show a =>... placeholder while async translation is pending, then replace it in place to keep messages aligned.
  • Intercept your chat after pressing Enter, translate it to the server language, then send it.
  • Support /RU, /JP, /JR, and other language-code prefixes for one-message outgoing overrides.
  • Use Microsoft Translator by default; OpenAI-compatible endpoints are supported.
  • OpenAI mode supports previous chat context, Mindustry bundle-key terminology hints, and final prompt logging.
  • Bilingual settings UI with language dropdowns and token usage statistics.

Installation

Download ForeignServerTranslator-v1.0.0.jar, place it into Mindustry's mods directory, then restart the game. Android uses the same jar; it includes classes.dex.