You are viewing a potentially older version of this package. View all versions.
afxgg-PeakChatTranslator-0.2.5 icon

PeakChatTranslator

Translates PeakTextChat via Google Translate (primary) with MyMemory fallback. 100+ languages. /tr command sends only translation. /tr /w player msg for whispers.

Date uploaded 3 weeks ago
Version 0.2.5
Download link afxgg-PeakChatTranslator-0.2.5.zip
Downloads 20
Dependency string afxgg-PeakChatTranslator-0.2.5

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.75301 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.75301
borealityy-PeakTextChat-1.3.4 icon
borealityy-PeakTextChat

A simple text chat for PEAK

Preferred version: 1.3.4

README

PeakChatTranslator

Português-BR | English

Automatic chat translation for PEAK (via PeakTextChat).

Screenshots

Incoming message translation

A player with Portuguese as native language receives an English message, with translation appearing below:

Settings used in screenshot:

  • General → Target Language: Portuguese (pt-BR) (your native language)
  • Other player writes in English → you see it translated to Portuguese automatically

Incoming translation

Outgoing translation (/tr command)

Type /tr followed by your message to send only the translated version:

Settings used in screenshot:

  • General → Target Language: Portuguese (pt-BR) (your native language — source)
  • Outgoing → Translate My Messages To: English (en) (language others receive)
Before (you type in your language) After (sent to chat translated)
Original sentence Translated message

How it works

Incoming messages (automatic)

  • Every message from other players is automatically translated to your language
  • Original message stays visible; translation appears below with [TR-XX] prefix
  • Configure: General → Target Language = your native/preferred language

Outgoing messages (command /tr)

  • Type /tr your message → sends only the translated version (original is blocked)
  • Source language = General → Target Language (your language)
  • Target language = Outgoing → Translate My Messages To (what others receive)
  • Works for any language pair supported by Google Translate/MyMemory

Whisper translation (TinyTweaks)

  • /tr /w player message → sends only translated whisper to target
  • Purple formatting with (secret msg for you) matching TinyTweaks style

Settings (Mod Config / Gale)

Section Option Type Default
General Enabled Toggle On
General Target Language Dropdown (100+ langs) English (en)
Display Translation Prefix String TR
Display Translation Color Hex #7FC8FF
Outgoing Translate My Messages To Dropdown (100+ langs) English (en)

Quick setup guide

  1. General → Target Language = the language YOU read/write in (your native language)
  2. Outgoing → Translate My Messages To = the language OTHERS should receive your messages in
  3. Use /tr message to send translated messages
  4. Use /tr /w player message for translated whispers

Features

  • 100+ languages via Google Translate (primary) with MyMemory fallback (free, no API key)
  • Automatic incoming translation + manual outgoing via /tr
  • Whisper translation with TinyTweaks integration
  • Double-translation prevention when both parties have the mod
  • Asian language support: Korean, Japanese, Chinese, Russian, Arabic, Hindi, Thai, Vietnamese, etc.

Dependencies

Installation

  1. Install dependencies above via Thunderstore/Gale
  2. Download afxgg-PeakChatTranslator-0.2.5.zip from Thunderstore
  3. Install via Gale or extract to BepInEx/plugins/

Local Build

dotnet build -c Release
# DLL at artifacts/bin/PeakChatTranslator/release/Gordoni.PeakChatTranslator.dll
# Thunderstore package at artifacts/thunderstore/release/

Credits / AI Disclosure

This project was developed almost entirely with AI.

  • Tool: opencode (software engineering CLI)
  • Model: Nemotron 3 Ultra Free (NVIDIA)
  • All C# code, Harmony patches, BepInEx/Photon integration, configs, ThunderPipe build/packaging, and documentation were generated/iterated via opencode prompts.
  • AI analyzed base mods (PeakTextChat, TinyTweaks) to properly integrate via public APIs and Photon events.

Human contribution: requirements review, in-game testing, UX decisions (dropdowns, commands, colors), publishing.

License

GPLv3 — see LICENSE.

CHANGELOG

Changelog

[0.2.7] - 2026-10-03

Changed

  • Updated mod icon

[0.2.6] - 2026-10-03

Documentation

  • Updated screenshot image paths to absolute GitHub URLs for Thunderstore compatibility
  • Images now load correctly on Thunderstore package page

[0.2.5] - 2026-10-03

Documentation

  • Rewrote README screenshots section: generalized for any language pair (not just PT→EN)
  • Added clear configuration guidance: Target Language = your language, Translate My Messages To = others' language
  • Screenshots now contextualized as examples (PT/EN) with general explanation

[0.2.4] - 2026-09-24

Documentation

  • Updated README: command format is /tr /w player message (inverted format)
  • Updated README: Google Translate is now the default translation provider
  • Updated version references to 0.2.4

[0.2.3] - 2026-09-24

Added

  • Full MyMemory language support (100+ languages including Asian: ko, ja, zh, ru, etc.)
  • Dropdown language selectors for both incoming and outgoing translation
  • /tr now sends ONLY translated message (no duplicate original) to prevent double-translation

Changed

  • Removed unused configs: Provider, LibreTranslateUrl, LibreTranslateApiKey, TranslateOwnMessages, OutgoingCommandPrefix, OutgoingSourceLanguage
  • Simplified UI: General (Enabled, Target Language), Display (Prefix, Color), Outgoing (Translate My Messages To)
  • /tr command hardcoded, source language auto-uses Target Language
  • Outgoing whisper (/w player /tr) sends only translated whisper with purple formatting

Fixed

  • Duplicate translation issue: recipients no longer receive both original + translated
  • Whisper translations now use correct purple color (#8973a1) with "(secret msg for you)"

[0.2.2] - 2026-09-24

Fixed

  • README cross-links now use absolute GitHub URLs (work on Thunderstore page)

Added

  • MyMemory provider (free, no API key, auto-detect) as default
  • Outgoing translation command /tr with dropdown language selection (PT/EN/ES)
  • Whisper translation combo: /w player /tr message — sends original + translated whisper
  • Whisper translations styled with TinyTweaks purple color and "(secret msg for you)"
  • Local preview of outgoing whisper translations
  • README links PT↔EN

Changed

  • TranslateOwnMessages default to false
  • Language configs now use dropdown selectors (PT/EN/ES)
  • Switched from Google Translate (blocked) to MyMemory

Fixed

  • Incoming whisper translations now work
  • Translation loop prevention for own messages

[0.1.0] - 2026-09-23

Added

  • Initial release
  • Incoming message translation with [TR] prefix
  • Google/LibreTranslate providers