All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Chatglot - Chat Translation

Chatglot - Chat Translation

by yoima • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Chatglot

Chat translation examples Chatglot is a Fabric client-side mod that translates Minecraft chat messages on the fly.
A translate button (✍ by default) is added to each chat message. Click it, or let auto-translate handle it, and the translated result is shown in chat either as a new line or by replacing the original message.

Client-side only. No server installation is required.

Features

  • Translate button appended to every chat message (configurable label)
  • Click-to-translate or automatic chat translation
  • Works out of the box — the default provider uses Google Translate's free web API, with no API key, account, or setup
  • Local translation cache — repeated messages are shown instantly without another request
  • Result shown as a new line or replaces the original chat message
  • Sign and hanging sign translation
    • Look at a sign and press G to translate its text
  • Book translation
    • In a written book or on a lectern, press G or click Translate to translate the current page
    • Book and quill pages can be translated with the Translate button (page contents are never changed)
  • Chat input translation
    • Choose an outgoing language in the chat input and preview a translation of your draft before sending
    • Apply the preview with Tab or a click
  • Open the settings screen with F8 or /chatglot config
  • Translate a specific chat message with /chatglot translate <id>

sign translation

Translation Providers

Chatglot supports multiple translation backends. Switch between them in the settings screen.

Provider Requires
default Nothing. Uses Google Translate's free unofficial web API (not the paid Cloud Translation API). It may be limited or changed without notice.
gas Your own Google Apps Script web app URL
deepl DeepL API key
google Google Cloud Translation API key
openai OpenAI API key
gemini Gemini API key
anthropic Anthropic API key
azure Azure Translator API key + region
codex Browser OAuth (one-time, token stored locally)
translategemma_local Windows only. Downloads llama.cpp + a TranslateGemma GGUF model, then runs a local backend over localhost

Recommended Providers

  • Default: Best for getting started. Free, needs no setup, and supports auto-translate. Because it relies on an unofficial API, Google may rate-limit it during heavy use; switch to another provider if that happens.
  • GAS: Good if you want a free setup with your own Google account. Google Apps Script documents up to 5,000 Translate calls per day for consumer accounts, though quotas can change. See Apps Script quotas.
  • Codex: Recommended if you already subscribe to ChatGPT. OpenAI states that Codex is included with ChatGPT Plus, Pro, Business, Edu, and Enterprise plans, with plan-based limits. See Using Codex with your ChatGPT plan.
  • Azure: A good option if you want an official API with a free tier. Azure Translator F0 includes 2 million characters free per month according to Microsoft's pricing page. See Azure Translator pricing.
  • TranslateGemma: A strong option if your PC has enough headroom for local inference. After setup, it runs locally over localhost, can be fast, and does not require a paid API for each request. It does require downloading the llama.cpp runtime and a TranslateGemma GGUF model.

Configuration

The config file is located at config/chatglot/chatglot.json.

Key settings:

  • enabled — Enable or disable the mod entirely
  • autoTranslateEnabled — Toggle automatic translation
  • outgoingTargetLanguage — Default language for translating your own chat draft (default: English)
  • targetLanguage — e.g. JA, EN, EN-US, ZH-HANS (defaults to your Minecraft language)
  • provider — Choose your translation backend
  • overwriteOriginalWithTranslation — Replace original message instead of adding a new line
  • appendTranslateButton — Show or hide the ✍ button
  • translateButtonLabel — Customize the button label
  • showTranslationPrefix — Show or hide the translated-message prefix
  • requestTimeoutSeconds — Network timeout (5-240 seconds)
  • maxConcurrentTranslations — Max parallel translation requests (1-16)
  • useSharedAppDataSettings — Share API keys, model settings, and local backend settings through %LOCALAPPDATA%
  • translationCacheEnabled — Enable the local translation cache (default: true)
  • translationCacheMaxEntries — Maximum number of cached translations (default: 5000)

Translation Cache

Successful translations are saved to config/chatglot/translation-cache.json and reused for the same text, language, and provider settings. The oldest entries are removed once the limit is reached. Clear the cache with /chatglot cache clear or the button in the settings screen.

The cache stores the original text, including chat messages, in plain text on your PC. API keys and other credentials are never stored in it.

TranslateGemma Local Backend

translategemma_local is a Windows-only local translation option. It does not run inference inside the Minecraft JVM. Instead, it uses a separate local backend process over 127.0.0.1 / localhost.

When you use the TranslateGemma setup buttons in the config screen, Chatglot:

  • Downloads a prebuilt llama.cpp Windows runtime
  • Downloads a TranslateGemma GGUF model file
  • Starts llama-server.exe locally and sends translation requests to that local server

The default model is mradermacher/translategemma-4b-it-GGUF using translategemma-4b-it.Q4_K_M.gguf.

By default, Chatglot stores the local backend runtime, model, logs, and state inside:

  • config/chatglot/local-backend/ when shared AppData settings are disabled
  • %LOCALAPPDATA%/ChatglotLocal/ when shared AppData settings are enabled

You can also override the runtime path, model path, download URL, or shared directory from the config screen.

Shared Settings Storage

If useSharedAppDataSettings is enabled, Chatglot stores shared settings in %LOCALAPPDATA% so multiple launch profiles can reuse them.

This may include:

  • API keys for supported translation providers
  • Codex token file location and related model settings
  • TranslateGemma local backend settings such as runtime path, model path, port, and shared directory

Shared settings are stored locally on your PC. They are not uploaded anywhere just because this option is enabled.

Privacy Notice — External Data Transmission

This mod sends chat text to external translation services. The destination depends on the provider you select.

Translating a chat draft sends the text in the input field only when you press the translate button. Typing or opening the language picker does not send the draft. Results already in the local cache are shown without sending a request.

  • default provider: Chat text is sent to Google's unofficial web translation API (translate.googleapis.com). It is free and needs no setup, but Google may limit or change access without notice. See Google Privacy Policy.
  • gas provider: Chat text is sent to the Google Apps Script web app URL that you configure. Requests are processed through Google's infrastructure. See Google Apps Script Additional Terms and Google API Services User Data Policy.
  • openai provider: Chat text is sent to the OpenAI API using your API key. See OpenAI data controls.
  • codex provider: Uses browser-based OAuth, stores the token locally, and then uses that token to send chat text to OpenAI services. The mod also fetches the available model list from https://modelapi.yoima.com/api/codex-models/list. No chat content is sent to that model-list endpoint.
  • gemini provider: Chat text is sent to the Gemini API. For Google AI Studio / Gemini API usage, review the provider terms here: Gemini API Terms.
  • deepl provider: Chat text is sent to the DeepL API. See DeepL Privacy Policy.
  • anthropic provider: Chat text is sent to Anthropic services using your API key. See Anthropic Privacy Policy.
  • azure provider: Chat text is sent to Azure Translator using your API key. See Data, privacy, and security for Azure Translator.
  • google provider: Chat text is sent to Google Cloud Translation using your API key. See Google Cloud Privacy Notice.
  • translategemma_local provider: Chat text is sent only to a local backend running on 127.0.0.1 / localhost. During setup, this mod downloads the llama.cpp runtime and the TranslateGemma GGUF model from a third-party hosting source configured by the mod.

Source & License

Source code: GitHub — yoima-jp/Chatglot
License: MIT

How to Install Chatglot - Chat Translation (Mod)

Chatglot - Chat Translation by yoima is verified for Fabric across Minecraft versions 1.21.11, 1.21.4, 26.1, 26.1.1, 26.1.2, 26.2, 26.3 (latest release: 26.10.26-mc26.3, file size: 81.4 MB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.11, 1.21.4, 26.1, 26.1.1, 26.1.2, 26.2, 26.3) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Chatglot - Chat Translation file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
11d ago 1
26.3
Fabric
1mo ago 1
26.3
Fabric
1mo ago 1
26.2
Fabric
2mo ago 1
26.2
Fabric
2mo ago 1
26.2
Fabric
3mo ago 1
26.1.x
Fabric
4mo ago 1
26.2
Fabric
4mo ago 1
26.2
Fabric
5mo ago 1
26.1.x
Fabric
5mo ago 1
26.1.x
Fabric
7mo ago 1
26.1.x
Fabric
7mo ago 1
26.1
Fabric
7mo ago 1
1.21.11
Fabric
7mo ago 1
1.21.4
Fabric
7mo ago 1
1.21.11
Fabric
8mo ago 1
1.21.11
Fabric
8mo ago 1
## New: Works out of the box with Google Translate
  • The default provider now uses Google Translate's free web API. No API key, account, or setup is required.
  • Auto-translate is now available with the default provider. If you used the previous default, auto-translate stays off until you turn it on.
  • The author-operated shared GAS endpoint is no longer used. The gas provider still works with your own Google Apps Script URL.
  • If Google temporarily limits requests, Chatglot shows a "temporarily limited" message and pauses automatic translation for a while.

## New: Local translation cache
  • Successful translations are saved to config/chatglot/translation-cache.json and reused for the same text, language, and provider settings, so repeated messages are shown instantly.
  • Up to 5,000 entries by default. Turn it off, change the limit, or clear it in the settings screen, or run /chatglot cache clear.
  • The cache stores original text in plain text on your PC. API keys and other credentials are never stored in it.
  • /chatglot diagnose always sends a real request and ignores the cache.

## New: Chat input translation
  • Choose an outgoing language in the chat input and preview a translation of your draft before sending.
  • Apply the preview with Tab or a click. The outgoing language is separate from the target language for incoming chat.
## New: Book translation
  • Translate the current page of a written book or a book on a lectern with G or the new Translate button. Press again to switch back to the original text.
  • Writable books (book and quill) can also be translated with the Translate button. The translation is display-only: the editor is disabled while it is shown, and page contents are never changed.
  • The button sits below the vanilla Done row with the same width. It can be hidden with the new "Show book translate button" option (G still works for written books and lecterns).
  • Only the current page is sent, and only when you ask for it. Turning pages never sends a request.

## Provider reliability
  • Translation failures are now classified (auth, missing config, rate limit, quota, timeout, network, server, bad response).
  • Temporary failures are retried up to 2 times with backoff, honoring Retry-After.
  • Auto-translate pauses briefly after rate limit, quota, or auth errors instead of repeatedly sending requests. Manual translation keeps working.
  • Identical in-flight requests are shared instead of being sent twice.

## Better error messages
  • Errors are localized (English / Japanese) and include a recovery hint, with a link to open settings when relevant.
  • Raw API responses are no longer shown in chat; hover the error for details.
  • Repeated auto-translate errors are shown at most once every 30 seconds.
  • Sign and book translation failures now show the reason.
  • New /chatglot diagnose command sends a short test text to the selected provider and reports the result and latency.
### Added sign and hanging sign translation

  • Added translation support for signs and hanging signs.
  • Look at a sign and press the G key to translate its text.
### Fixed

  • Fixed translations of styled Minecraft chat messages losing their original formatting.
  • Improved preservation of colors, bold, italic, underline, strikethrough, and other chat styles during translation.
  • Fixed click and hover events being lost or corrupted in translated messages.
  • Fixed extra spaces appearing between adjacent symbols and decorative chat elements when using GAS translation.
  • Improved restoration of Chatglot's internal translation markers when translation providers modify their formatting.
  • Fixed handling of HTML entities and special characters in GAS translations.

### Changed

  • Changed the default Codex model from gpt-5.4-mini to gpt-5.6-luna.
### Fixed translation on servers that use system messages

  • Fixed an issue where the translate button and automatic translation did not work on servers such as Hypixel and CubeCraft, which deliver chat messages as system messages.
  • Thanks to gaku1023 for the contribution!
### Fixed translation on servers that use system messages

  • Fixed an issue where the translate button and automatic translation did not work on servers such as Hypixel and CubeCraft, which deliver chat messages as system messages.
  • Thanks to gaku1023 for the contribution!
### Added support for Minecraft 26.1

  • Added compatibility for Minecraft 26.1.

### Fixed minor bugs

  • Resolved several minor issues.

### Added TranslateGemma Support

  • Now supports TranslateGemma using llama.cpp on Windows environments.

### Extended Configuration Sharing Options

  • Added the ability to share settings to the %LOCALAPPDATA% directory as well.
Chatglot - Chat Translation Icon
Download Chatglot - Chat Translation
Select game version
Select platform