Chat Translator
This is a chat translator mod that uses the google translate API and modifies the chat, so that you can:
- Translate every message to your target language just by clicking on it (even ingame)
- Send messages in a specified language
- Scroll the vanilla ingame chat using the mouse wheel
If you are having scaling issues (e.g. you are running 21:9) or the mouse is a bit off when trying to click in-game, try my mod Ultrawide Fix. Despite its name it could fix your issue even when you are playing on 16:9.
Usage:
Translate incoming messages:
- Select the desired language in the mod options
- Hover over a message and click to translate
- Click again to toggle between showing the translated and original message
- It will show the detected language code in parentheses next to the players name.
Translate your outgoing messages:
- Type: tl <langauge code> <message>
- Generally you will be answering players in their language, so just use the detected language code from their translated message.
- Example: tl en hallo -> hello
!!! HUD compatibility needs to be configured in the settings !!!
Compatible with the following HUDs:
- WolfHUD
- Void UI
- VanillaHUD
- PocoHUD (select default)
- PD:TH HUD (select default)
- SydneyHUD (select default)
- Hotline Miami Hud (select default)
Please restart after changing HUD compatiblity or else a crash will do it for you.
HUDs that are not listed here and change the chat will cause a crash.
Open for feedback and new feature ideas.
Localizations:
- Simplified Chinese by Arknights

Downloads11,914
Views32,444
Publish Date5 years ago
Last Updated1 year ago by
Version1.4
Members

powwareOwner
Comments
hello. Since the mod author stopped updating, I am releasing a slightly modified version of the mod.
This release includes the following fixes:
Add automatic translation function
If you use the 'automatic translation' function, the translated text will be displayed without you having to click on each message.
To use the automatic translation function, go to Options -> Mod Options -> Chat Translator and check 'Auto Translate'.
Then, go to the 'Auto Translate Exclude List' and check all languages that you can use without a translator. (For example, I checked English and Korean because I can write in English and Korean without a translator)
Fixed bug where text after question marks and exclamation marks were cut off
For details on the bug, please refer to the comment posted below by user 'Shaklin'.
There was a bug where if there was a question mark and a space in the middle of the text, such as "Das ist ein test? das ist ein test," the sentence after the question mark would disappear.
This release fixes a bug so that full text is displayed properly.
Download link: https://github.com/seunghun-kim/pd2-chat-translator/releases/download/auto-translation-and-question-mark-bug-fix/Chat.Translator.zip
powwares versions works super fine for me but I love that automatic translate feature of your version. Works fine but as soon as I press my button to open the chat the game crashes.
Using Pocohud with default settings-
Application has crashed: C++ exception
[string "lib/managers/hud/hudchat.lua"]:190: attempt to index local 'scroll_up_indicator_shade' (a nil value)
SCRIPT STACK
original() lib/managers/hud/hudchat.lua:336
_on_focus() @mods/base/req/core/Hooks.lua:260
set_chat_focus() lib/managers/hudmanagerpd2.lua:1915
toggle_chatinput() lib/managers/hudmanagerpd2.lua:1888
func() lib/managers/menumanager.lua:552
core/lib/managers/controller/corecontrollerwrapper.lua:596
Callstack: