Mods / Chat Translator
Author: Nyuhnyash
Side: Client
Created: Oct 22nd 2023 at 4:25 PM
Last modified: Nov 27th 2024 at 5:45 PM
Downloads: 1825
Follow Unfollow 32
Latest file for v1.20.1:
ChatTranslator_v1.1.0.zip
1-click install
Usage
Mod translates incoming chat messages by default.
You can send translated version of your message using chat command.
Commands
.t
(.translate) <message>
- Translate your text into the target language and send it to the chat.
.ct
(.chattranslator
; .translator):
.ct toggle
- Switch incoming messages translator on and off.
.ct lang list
- List supported languages.
.ct lang <lang type> [lang code]
- View or edit your language preferences.
.ct lang own [lang code]
- Change the language in which you prefer to read and write your message if it differs from your game locale.
.ct lang source [lang code]
- Change the language you expext most of the chat uses. Default is 'auto'. By changing you can improve translation quality bypassing the detection stage, but now translator could fail to translate from other languages.
.ct lang target [lang code]
- Your messages in .t command will be translate to the target language. Most of the time matches with source language, but cannot be 'auto'. Default is English.
Examples:
.ct lang own
- See your language.
.ct lang target zh-cn
and .t Hello
- Translate your message to Chinese (Simplified) and send it to the chat.
.ct lang source pl
- Trying to translate all chat messages from Polish to your own language.
Future ideas:
- Option to hide the original untranslated messages (proposed by Eluce).
- Option to filter out messages in foreign languages / scripts.
- Translation of foreign scripts to other scripts (Cyrillic to Latin, Chinese to Pinyin).
- Server-side version of the mod.
- Support for other translation services/engines.
- Non-standard languages support, e.g. pirate speak. (proposed by RoadKill).
- In-game sign translation (separate mod?).
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.1.0 | 387 | Nov 27th 2024 at 5:44 PM | Show | ChatTranslator_v1.1.0.zip | Install now | |
v1.0.0 | 962 | Oct 22nd 2023 at 8:36 PM | Show | ChatTranslator_v1.0.0.zip | Install now | |
v1.0.0-dev.0 | 473 | Mar 26th 2024 at 10:12 AM | Show | ChatTranslator_v1.0.0-autodl.zip | Install now |
I just love the idea of this mod - for universal gameplay! I'm using a linux client but here it seems to not work as intended... I followed the commands and still nothing is translated, neither incoming nor outcoming messages sadly
details:
the command .t (ex.: '.t hello world') shows nothing in the client nor to the other players online
other config commands (list, .ct, etc) show their options, but no translation shows up
The terminal window shows this error:
1.1.2025 16:43:06 [Client Error] [chattranslator] Failed to translate the message.
EDIT: the mod is listed as 1.20x compatible, but in the client menu it shows as '1.18' compatible - maybe it's because of that? I'm using 1.20.0-rc.6 unstable
EDIT2: after trying many combinations of configs and commands, I managed to make it work! Tip for Linux users, here's what I did: set all configs at least once (.ct own, target, source), restart it all (server too) - should work!
Would you be able to make a setting to hide the original untranslated messages, while keeping the translated messages? This will help de-clutter a busy chat.
0zymandias surio
Should be fixed now.
I second 0zymandias experience. Most of us players have a game breaking level of lag spike on the server whenever anyone else uses chat
Something needs optimising in the code
Mod is adding lag spikes every time it triggers when used on a large server and constantly translating russian, spanish, and portugese.
Nyuhnyash Thanks a bunch for this. <333 ^v^
Kara, sounds more like feature request to Tyron. Done, though.
would you be able to make a version of this, so it auto downloads into servers? love this mod btw~ <3 (i realize its just a line change in a file, but im not sure if my applying it on server would have everyone download it >.<)
What does this mod use for translation?
I mean, does it use some kind of online API to translate the text?
And, judging by the fact that the mod contains GoogleTranslateFreeApi.dll, it obviously uses Google Translate to convert text.
I think it would be nice to write about this in mod information here on the site.
BoolyStudy, wdym Linux hosting? The mod is client-side, installation as simple as: download archive -> drag it to "mods" folder.
This mod does not work on Linux hosting, there is also no installation wiki