I have a problem. I play on a rpg server and there I have quests from npc but the mod only explains what the players write. Is it possible to make the mod translate what wrote npc to me?[/pre]
hello! I tried to study regex, but I really can’t come to understand it. I tried to write a regex for hypixel since it doesn’t translate party chat but there is also ranks and no ranks and that makes my mind overheat. I think the color of the chat doesn’t matter but that’s how the party chat is :
Party > [Rank] Username: message to translate
The difficult part is that not every player have a rank and not the same( the ranks are: VIP, MVP, MVP+, MVP++, I don’t know how to write that in regex, I haven’t found any help or regex online so I ask you ^^’ sorry for the bother and thanks in advance if you can help me
Real Time Translation Mod for 1.7.10, 1.10.2-1.12.2
Do you have players speaking in a language that you don't know? Do you have problems communicating with them? This small mod can break the language barrier by translating the Minecraft chat in real time! All translation results are powered by Yandex.
NOTE: Translation results may not be 100% accurate. It may lead to misunderstandings.
NOTE: This mod is client sided! You can just install this in your client! No server required!
NOTE: This mod does not work on Java 1.6. (In default, the Minecraft launcher has Java 1.8 pre-installed)
Installation:
Put the .jar into your mods folder of your Minecraft instance. Just like all the other forge mods.
Instructions:
If you only want your chat to translate to English, install the mod, and you're done!
Otherwise, for settings and other functions. Press Y in the game. This key bind can be changed in Options > Controls > Multiplayer > Chat Translator
Every option is explained in the mod. So please read it carefully. Press the question mark for more information.
I highly recommend using the GUI to change options there. Manually editing the file could be extremely confusing.
Latest version: 4.3.1
All versions below 3.2 contain bugs or do not work. If the mod doesn't work, update the mod.
The download button takes time to update. If the download button links to an older version, click view all downloads instead.
1.12.2 Download
1.11.2 Download
1.10.2 Download
1.7.10 Download
Unsupported versions (1.8.x, 1.9.x, 1.10.0, 1.11.0, 1.12.0) - There will be no updates to these. Bugs and crashes will not be fixed.
A showcase showing this working on a public server
I will make a tutorial video when I have time. Maybe. Uh...don't count on it.
FAQ: (Read it before posting questions! Especially if it doesn't work)
Q: Why don't you use Google translate for the online translation?
A: Since December 2011, Google updated the translation API to version 2. This requires developers pay monthly to use Google's services. However, you don't need to pay when you are using the web version. Yandex's translation service is probably the only free online translation service right now.
Q: Does this mod compatible with (insert mod name here)?
A: Generally, most mods are compatible. If it involves modding the chat system, the mod may not work. However, you could test it out.
Q: The messages are not translated!
A: There are four possible reasons why nothing is translated.
You haven't set up a regex for that specific server. I pre-made some for popular servers, but there are still a lot of servers with other chat plugins that this mod would not recognize. This is the most common cause, so if you can't see any chat logs under "Manual translate", this is what happened. Check "The mod doesn't detect any messages on xxx server!" for more info
The message contains typos, which greatly affects the language detection
The translation service is down
The translation fails, meaning nothing was translated. Similar to when you type gibberish into Google translate, and it doesn't do anything
If you are sure that those are not the cause of it, try using the "Manual translate" function.
Q: The mod is translating random stuff
A: That is most likely because of the language detection service being funky. Certain words that aren't supposed to be translated such as "rekt" will be translated as "RA".
Q: I got a message that says "Error caught during setting up translation service..."
A: That is usually either a network problem or the translation keys needed for translation have exceeded the daily/monthly limit(This is more likely). If this happens, you should tell me about it so I can add more keys to the mod. Or you can add your own key to the mod. Go to the settings of the mod and click "User Key" (Or "Use your own translation key" for older versions) for details. That way you can still use the mod.
Q: The mod doesn't detect any messages on xxx server!
A: You can add patterns (Regex) in Options > Chat Regexes > View / Add. Regex(Regular Expressions) is basically "patterns" that allows the mod to detect a line of text. It does NOT detect what language the message is using, rather asks the question "what does a chat message looks like". It allows compatibility for all Minecraft chat plugins. If you don't know what this is, unfortunately, you have to learn it.
Alternatively, you can give me a screenshot of your chat in pm. I can help you to make a regex out of it.
(It's not that I will think that you're dumb or lazy or anything...)
If the mod shows "chat separators" instead of "Chat Regex", I suggest you update the mod to 4.0 and above.
Q: The mod deleted all of the default regexes!
A: Just reset the regex to default and save.
Q: Does this mod spam the chat on servers? Will I get banned for this?
A: It does not. The entire translation process(including the translation message) is all client side. The server won't receive anything, and it's no-cheat safe.
Q: What's your inspiration of this mod?
A: It's exactly what the mod description says. I am sick of players constantly talking to me using foreign languages that I don't know and refuses to speak in English.
Known bugs:
(So far none!)
The error from setting up the translation service is caused by the request limit since there are lots of players using this mod.
Development status (If you want to know what takes so long for updates and please stop asking when will it update):
1.13.2 update in progress.
Currently forge beta is incomplete. Waiting for forge.
Due to my busy academic schedule, upcoming updates will only be bug fixes. Sorry guys, I don't have time to add any new features but they will be in the backlog.
Changelog:
1.5-1.6.4.1
1.5
Initial public release
1.6
ADD: New command! /translate or /trans. Type it in your chat for usage
ADD: You can now add chat separators in your config file. This allows the mod to detect your chat message on some servers with specific chat plugins.
ADD: You can change what the mod should translate your chat to! Additionally, you can change all these options IN-GAME. In the pause menu or title screen, click "Mod Options" or "Mods". Select the config button in the translate mod tab. You can change these options there.
OPTIMIZATION: Package reworked.
1.6.1
Hotfix: Translated messages not displaying. Sorry about that!
1.6.2
Add: Added another alias to the command /translate. "/tr"!
Add: Changed the command messages and have a nicer look.
Add: You can now use shortened language names(aka locale names) when using "/translate chat". For example, you can use "es" instead of "spanish". "en" instead of "english".
Fix: Commands can now work client sided! That was careless of me not noticing the issue.
Fix: Better tab completion
Fix: Commands can finally save the changes to the config file
Basically, I reworked the entire command system.
1.6.3
Add: More translation keys to hold the amount of players using the translation service.
Add: Exception handling. The mod will switch translation keys when the current one wasn't working
1.6.4
Fix: Random error 0s popping up in the chat
Fix: Duplicated translation messages
Fix: The mod now automatically finds a usable translation key when startup
1.6.4.1
Fix: Minor bug fixes
2.1-2.6.1.1
2.1
ADD: Ability to translate your messages! Use the command "/tm [message]" or "/transme [message]"
To change what language your message to be translated to. Use the command "/translate me [language from] [language to]
FIX: Double spacing on all mod messages
2.2
Fix: /trans me command not working
Fix: Duplicated translation messages (again...)
2.3
Fix: A better filter for duplicated translation messages
Fix: A couple more bug fixes
2.4
A 1.8 port for the sake of the amount of mods available
Fix: More minor bug fixes
Optimisation: Some code cleanup
2.4.1 (For 1.8/1.8.9 only)
Fix: Mod compatibility for other mods using GUI config
2.4.2 (For 1.8/1.8.9 only)
Fix: Tab completion not working
2.5
Fix: Duplicated translation messages when chat is spammed.
1.9 port released!
2.6
Fix: Bug fixes regarding to some errors. Rewritten nearly half of the mod.
Add: Readding the credit message (1.9 only)
2.6.1
Fix: A critical bug that makes the mod unusable (1.7.10 and 1.8 only)
Fix: VERY minor bug fixes
2.6.1.1 (1.9 only)
Fix: Compatibility with newer Forge versions (Forge version 1.9-12.16.0.1811 and above)
3.0-3.3
3.0
Major update!
-Removed: All commands
-Add: Full GUI implementation. Press Y for all configurations. This can be changed in Options > Controls
-Add: Manual translation. In case the mod cannot detect the language of the message, this function can allow you to translate the message from a specific language.
3.0.1
-Removed: Credit message when joining worlds
-Add: A message about the key bind of the in-game settings
3.1
Add: More translation keys to hold the amount of players using this mod!
Fix: Translation messages are listed in the manual translation tab
Fix: Other minor bugs
3.2
ADD: User translate keys. You can now add your own translate keys to the mod and can be used when all public keys are used up!
FIX: Key switching is broken. (HTTP 200 Error)
FIX: The config button desync after clicking reset to default
FIX: Texture fix on the language selection GUI
3.3
ADD: A new lists of keys for all players
ADD: Configurable message colour and style. You can now change the style of translated messages. Bold/Italic/Underline/Color
FIX: Repeated key presses in textboxes
FIX: Changed some of the error descriptions
4.0
Remove: Chat separators
Add: Chat regex. Changed the way the mod detects chat messages. The mod will now work on all servers(Any chat plugin would work)
Fix: Some minor fixes.
4.1
ADD: Player name suffix for translated messages
ADD: 21 more languages
ADD: Ability to use commands in the message box
ADD: Ability to translate text on signs
CNG: Moved the help button to both the config and main GUI
FIX: Crash when loading the chat log in manual translate
FIX: Unable to delete regex
4.1.1 (1.10 only)
FIX: Invalid default regexes.
4.2
ADD: 1.11.x support
FIX: Color and style settings do not apply to manual translate
ADD: A crap ton of translation keys
FIX: Some text changes and proofreading
FIX: The mod will not translate anything while changing translation keys
RMV: Dropped support for 1.8.x and 1.9.x
OPT: Major code cleanup
4.3
FIX: mcmod.info not loaded in 1.11
FIX: Bad request due to empty messages (Mainly caused by bad chat plugins)
OPT: Code refactoring
4.3.1
FIX: Issues with detecting the chat due to section signs.
FIX: Changing translation keys will now not use keys that are unusable previously to reduce chat spam
Do NOT use the mod as a way to get ad revenue(Upload the mod and link it to URL shorteners/any similar services that give ad revenue).
Feel free to do YouTube reviews. Just remember to put a link to this forum/Curse/Curseforge.(Anyone of them) Not the download link directly.
You are allowed to put this mod on modpacks (Putting the mod into an automatic installer is ok in this case) as long as you are not using it to make money and include me in the credits. It will be appreciated if you tell me about it.
hello! I tried to study regex, but I really can’t come to understand it. I tried to write a regex for hypixel since it doesn’t translate party chat but there is also ranks and no ranks and that makes my mind overheat. I think the color of the chat doesn’t matter but that’s how the party chat is :
Party > [Rank] Username: message to translate
The difficult part is that not every player have a rank and not the same( the ranks are: VIP, MVP, MVP+, MVP++, I don’t know how to write that in regex, I haven’t found any help or regex online so I ask you ^^’ sorry for the bother and thanks in advance if you can help me
Thanks for your help before. It worked. The only problem is that on our server we have two additional rank indications added to certain players which cause the Regex to fail with those players.
We have no idea how to code this. It is a star symbol (for one additional rank) and a * symbol (for the other). Here are two screenshots. I would be grateful if you could help us please.
Apologies for the long wait everyone. Here comes the new update version 5.0!
Complete rewrite. Everything rewritten from the ground up. No more public statics or arbitrary textures. Gone with the spaghetti code that stayed for 3 years.
CNG: Chat regex now completely relies on regex groups instead of %name% tags to eliminate any missing messages once and for all
CNG: The message sender will now show up on the chat instead of requiring the user to hover your mouse over.
CNG: UI overhaul. The language select screen is one thing that bothered me the most. It's too large and it's clunky to use.
RMV: Manual translate. Originally it is supposed to let you request a translation again through a chat log, but it is pretty useless and don't work most of the time.
RMV: Help screen. Replaced with tooltips
RMV: Logging level. This thing is pretty much useless
RMV: Enable/Disable switch. Nobody uses that anyway
ADD: Redesigned regex editor. A cheatsheet with examples! It will now show if the regex is valid, as well as any showing any chat messages that are compatible with your regex.
ADD: Combined use of Google translate. Aside from the Yandex translate it is currently using. The mod will now switch between the two!
The translator doesnt work on hypixel in a party. I found out u can use regex to add that, but i cant get it to work this is how it looks like can u make a regex for me sorry for bad english
The translator doesnt work on hypixel in a party. I found out u can use regex to add that, but i cant get it to work this is how it looks like can u make a regex for me sorry for bad english
I tried for a long time, and my regex is valid now I think. It comes up as green in settings. the preview from within the settings menu is working. I can see my characters at Yandex (for my API) counting up so its processing something.
However - not a single word is being translated.
What pops up a lot after a message in chat when looking at my mc-log is :
will this be updated?
I really lovely translation mod. it's easy to speak lol
btw I have asking.
[Lvl. 41] [Rank] Username1 » Hello mod!
[Lvl. 24] [Rank] Username2 [Mod] » Hello
And
[Party] Leader Username1: Hello
[Party] Mod Username2: hey
[Party] Username: hey
I tried make new regex on skyblock.doesn't work for me. Could copy/paste regex to me? cus' I suck code then. Thanks
Copy these 2 to your regex list
\[Lvl\. \d+] (\[\.+] )?%name% (\[\.+] )?»
(\[\.+] )?(.+ )%name%:
Thank you
hello! I tried to study regex, but I really can’t come to understand it. I tried to write a regex for hypixel since it doesn’t translate party chat but there is also ranks and no ranks and that makes my mind overheat. I think the color of the chat doesn’t matter but that’s how the party chat is :
Party > [Rank] Username: message to translate
The difficult part is that not every player have a rank and not the same( the ranks are: VIP, MVP, MVP+, MVP++, I don’t know how to write that in regex, I haven’t found any help or regex online so I ask you ^^’ sorry for the bother and thanks in advance if you can help me
hello! I tried to study regex, but I really can’t come to understand it. I tried to write a regex for hypixel since it doesn’t translate party chat but there is also ranks and no ranks and that makes my mind overheat. I think the color of the chat doesn’t matter but that’s how the party chat is :
Party > [Rank] Username: message to translate
The difficult part is that not every player have a rank and not the same( the ranks are: VIP, MVP, MVP+, MVP++, I don’t know how to write that in regex, I haven’t found any help or regex online so I ask you ^^’ sorry for the bother and thanks in advance if you can help me
Use this instead.
(\[\w+])?(<\w+>)? .?%name%:
Hey again. can you add other Regex. i thought they change custom nick/prefix (&k) this like:
\[Lvl\. \d+] (\[\.+] )?%name% (\[\.+] )?» doesn't detecd member (or custom rank) say it.
Oops. I made a mistake.Here you go.
\[Lvl\. \d+] (\[.+] )?%name% (\[.+] )?»
seens doesn't work at all. it detected on admin saying. others can't
EDIT: Nvm. I fixed it works:
\[Lvl\. \d+] (\[.+])? %name%? (\[.+])? »
beaucse you missed space some
i need help with regex, i have looked all over the internet and in this thread, can somebody please help me?
Minebaffle
Hey can anyone please point out what im doing wrong with my regex and perhaps fix it for me as i don't really know what im doing.
Heres what i got so far
This is how the chat looks like
Thanks in advance
Apologies for the long wait everyone. Here comes the new update version 5.0!
Complete rewrite. Everything rewritten from the ground up. No more public statics or arbitrary textures. Gone with the spaghetti code that stayed for 3 years.
CNG: Chat regex now completely relies on regex groups instead of %name% tags to eliminate any missing messages once and for all
CNG: The message sender will now show up on the chat instead of requiring the user to hover your mouse over.
CNG: UI overhaul. The language select screen is one thing that bothered me the most. It's too large and it's clunky to use.
RMV: Manual translate. Originally it is supposed to let you request a translation again through a chat log, but it is pretty useless and don't work most of the time.
RMV: Help screen. Replaced with tooltips
RMV: Logging level. This thing is pretty much useless
RMV: Enable/Disable switch. Nobody uses that anyway
ADD: Redesigned regex editor. A cheatsheet with examples! It will now show if the regex is valid, as well as any showing any chat messages that are compatible with your regex.
ADD: Combined use of Google translate. Aside from the Yandex translate it is currently using. The mod will now switch between the two!
The download buttons right now direct to the older versions. Please head to curseforge to download them.
Hi i like ur mod alot i am using it on 1.8.9
The translator doesnt work on hypixel in a party. I found out u can use regex to add that, but i cant get it to work this is how it looks like can u make a regex for me sorry for bad english
Party > timnoot: hello
timnoot
Try this.
Party > %name%:
Ty for you're attention but it isnt working
i added it like this and then clicken on save and close
timnoot
In that case, it's probably an old bug. I've discontinued support for 1.8.9 anyway so maybe you should update.
I tried for a long time, and my regex is valid now I think. It comes up as green in settings. the preview from within the settings menu is working. I can see my characters at Yandex (for my API) counting up so its processing something.
However - not a single word is being translated.
What pops up a lot after a message in chat when looking at my mc-log is :
Any idea on how to troubleshoot after this ?
Thanks.