Auto Translate

版本 v1.2.15·更新於 2026-01-25

允許用一些線上翻譯api翻譯遊戲內文字爲其支持的語言。使用前請閱讀申明。反饋至GitHub。 Allows the use of some online translation APIs to translate in-game texts into their supported languages. Please read the declaration before use. Submit

模組介紹 作者原文

自動翻譯 AutoTranslate

  • 聲明(重要)
  • 本 mod 爲 EtG 提供對一些線上翻譯 api 的支持,可以翻譯遊戲內文字爲翻譯 api 支持的語言。
  • 本 mod 的作者不收取任何費用,但是使用網絡翻譯 api 可能產生費用,由相應 api 的服務商收取。不是所有的翻譯請求都會產生費用,多數翻譯 api 有免費額度,如每月 100 萬字符到 500 萬字符不等,請查閱使用的 api 的定價標準。如過量使用網絡翻譯 api 從而產生賬單,本 mod 作者不承擔任何責任。
  • 使用本 mod 需要向翻譯 api 服務商申請服務獲得密鑰,具體請查閱翻譯 api 服務商的文檔。
  • 本 mod 的網絡請求只與相關網絡翻譯 api 進行,不會收集、發送或公開用戶的任何信息,包括個人的翻譯 api 密鑰等。
  • 請從正規途徑獲取本 mod。請自行辨別傳播的版本。
  • 本 mod 僅供學習使用。
  • 請保護好個人信息,不要將個人的網絡翻譯 api 密鑰等信息通過手動截圖、使用 mod 管理器的共享配置文件等方式進行共享,以免造成不必要的損失。
  • 使用本 mod 代表信任本 mod 並同意以上聲明。
  • Declaration (Important)
  • This mod provides support for some online translation APIs in EtG, allowing in-game text to be translated into languages supported by these APIs.
  • The author of this mod does not charge any fees, but using online translation APIs may incur costs, which will be charged by the respective API service providers. Not all translation requests will incur fees; most translation APIs offer a free quota, ranging from 1 million to 5 million characters per month for example. Please refer to the pricing standards of the API you are using. If excessive use of the translation APIs results in charges, the author of this mod is not responsible.
  • To use this mod, you need to apply for a service and obtain a key from the translation API provider. Please refer to the provider's documentation for details.
  • The mod's network requests are only made to the relevant translation APIs and will not collect, transmit, or disclose any user information, including personal translation API keys.
  • Please obtain this mod through legitimate channels. Be cautious of distributed versions.
  • This mod is for learning use only.
  • Please protect your personal information and avoid sharing your translation API key through manual screenshots, shared configuration files using mod managers, etc., to prevent unnecessary losses.
  • By using this mod, you trust it and agree to the above declaration.
  • AutoTranslate 使用方式
  • 從 mod 管理器安裝 AutoTranslate。
  • 第一次安裝時,開啓該 mod 啓動一次遊戲並關閉遊戲。
  • 在 mod 管理器的配置中找到 AutoTranslate。
  • 在 General 選項卡中選擇使用的翻譯服務 api。
  • 在 General 選項卡中,設置 RegexForFullTextNeedToTranslate、RegexForEachLineNeedToTranslate 和 RegexForIgnoredSubstringWithinText。默認爲中文設置,如果目標語言是中文不用修改。其他語言自行修改。
  • 在 General 選項卡中,如果你的目標語言不是中文,把 PresetTranslations 置爲空,或者用你自定義的 PresetTranslations.json。
  • 在 Font 選項卡中 OverridedFont 選擇需要覆蓋的字體。若目標語言是爲中文,設爲 Chinese。其他語言自行設置。
  • 進入選擇的 api 選項卡,輸入該 api 需要的密鑰和其他細節如源語言、目標語言等。翻譯 api 需要的必選項和可選項請查閱服務商官方說明。
  • 啓動遊戲。
  • How to Use AutoTranslate
  • Install AutoTranslate from the mod manager.
  • When installing for the first time, launch the game with this mod enabled, then close the game.
  • In the mod manager, find AutoTranslate in the configuration settings.
  • In the General tab, select the translation service API you want to use.
  • In the General tab, Set RegexForFullTextNeedToTranslation, RegexForEachLineNedToTranslate and RegexForIgnoreDubstringWithinText. The default setting is for Chinese. If the target language is Chinese, there is no need to modify it. For other languages, please set on your own.
  • In the General tab, If your target language is not Chinese, set PresetTranslations to empty or use your custom PresetTranslations.json.
  • In the Font tab, Select the font you want to override in the OverridedFont below. If the target language is Chinese, set it as Chinese. For other languages, please modify on your own.
  • Go to the tab for the selected API, and enter the required key and other details like source language, target language, etc. For required and optional parameters for the translation API, please refer to the official documentation of the API provider.
  • Launch the game.
  • 節約翻譯額度的方法

包括設置 RegexForFullTextNeedToTranslate、RegexForEachLineNeedToTranslate 和 PresetTranslations 都可以顯著減少不必要的翻譯。見詳細說明。

  • Ways to Save Translation Quotas

Setting RegexForFullTextNeedToTranslate, RegexForEachLineNeedToTranslate, and PresetTranslations can significantly reduce unnecessary translations. Pleas

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

MtG_API-Mod_the_Gungeon_APIAlexandria-Alexandria

檔案與校驗

檔案名稱
Auto_Translate-1.2.15.zip
檔案大小
71.5 KiB