Can you help me make a regex, here are the sample messages that I get that the mod isn't translating:
[+]LatinsKings [Usuario]:vesema73 : Q paso LOL3 xd.
[++]LatinsKings [Usuario]:alexis14 : Ahora tu me regalas a mi xd.
[++]Atlas [Usuario]:TasitaGamerYT : Y se puede hacer varias veses eso?
[Usuario]:Frankwf : Que es wipe.
[INFO] Recuerda Cuidar El MedioAmbiente Replantar Arboles Y Cuida La Tierra
Here. Copy them without the quotes.
"(\[.+\]\w+ )?\[\w+\]:%name% : "
Me and some other guys found this annoying thing about that in one of our servers we play it won't translate chat messages for us.
Because of the icons on front of the faction names it's not possible for the mod to translate which is a bummer. Is the problem on your side or the Yandex translate API?
Sincerely
bobotje
Unicode like these can still be put to a regex. I've made the mod so that it is compatible with all chat plugins, but it requires you to configure it. It's simply impossible to add all cases of chat messages as there are too many plugins.
Try adding this to your regex list. Remove the quotes.
". \w+ \[\w+\] %name%: "
As good as this mod is, there's an 'issue'.
It doesn't translate what people are saying in chat, however it does translate what people are saying in a message, for example: if someone does "/msg Bonjour!" It'll pop up with a message, translating it to "Hello!" But if people are talking in a different language in chat it doesn't do that. Is there a way to fix this?
And if it helps, I'm using 1.8.9.
So it works, partly. It doesn't translate everything what it normally does. I tried using a short message of my own if it translated it and nothing. The sme if other plays talked. I used a long phrase and it worked.
Image:
Maybe you can find something for it. Better use for regex or something.
Sincerely
bobotje
It seems you all have the same issue. For the record, regex works with 100% accuracy. So the problem mostly lies on the translation server. Sometimes the server just refused to do anything(I know, it's frustrating). I have included a "fix" for this. Open the mod config menu and click "Manual translate". There you have to select the language of the message, then click on the message to translate.
;n; I tried to do that, but the messages never appear, only the commands issued.
That would mean that the translation is unsuccessful. I don't know why. Sometimes the server says that message is translated, but it doesn't. The output is the same as the input. I filtered out these useless junk from the chat so that's probably the cause.
There isn't much I can do, because it works perfectly in the server I play.
I have tried to get this to work for both Global Chat and messages, but haven't been successful with GChat. I have tried to add some regex filters, to no avail. I have succeeded in getting it to work on Regexr, but haven't been able to successfully transfer it over due to %name%.
Edit: I may have found the reason for it (Formatting Codes). Will do further testing, but there's an image of the launcher code below. Will be trying to see if I can get it to work now that I found this. Will notify if I figure it out. Please help. Lol
Edit2: SOLVED IT!! Needed to add the Regex .+\[.+\] (\W\d)?\w+(\W\d)?: Just replaced \w+ with %name%.
Edit3: Just came upon a new issue. On servers where you can change your nickname, there needs to be a way to add in formatting codes in names. At least adding an option to remove needing %name% in the script line.
I have tried to get this to work for both Global Chat and messages, but haven't been successful with GChat. I have tried to add some regex filters, to no avail. I have succeeded in getting it to work on Regexr, but haven't been able to successfully transfer it over due to %name%.
Edit: I may have found the reason for it (Formatting Codes). Will do further testing, but there's an image of the launcher code below. Will be trying to see if I can get it to work now that I found this. Will notify if I figure it out. Please help. Lol
Edit2: SOLVED IT!! Needed to add the Regex .+\[.+\] (\W\d)?\w+(\W\d)?: Just replaced \w+ with %name%.
Edit3: Just came upon a new issue. On servers where you can change your nickname, there needs to be a way to add in formatting codes in names. At least adding an option to remove needing %name% in the script line.
The mod automatically removes all formatting codes before translating, so you don't need to add rules for formatting codes at all. The %name% tag is used for identifying who send this message. It's a feature suggested by many.
The Meaning of Life, the Universe, and Everything.
Location:
Aussie
Join Date:
7/4/2014
Posts:
58
Member Details
I seem to be having an issue that i can translate from a English to another language but not different language to English. Fix? Also, This only seems to be on servers
There seems to be some incompatibility when trying to use this mod with DiscordCE. It gives "You are not permitted to do that. Are you in the right mode?". I'm not sure if this is from your mod or theirs but it'd be nice to be able to pass translated text from minecraft to discord!
I seem to be having an issue that i can translate from a English to another language but not different language to English. Fix? Also, This only seems to be on servers
I am sorry for the slow reply. I've been very busy lately. I'll look into it.
There seems to be some incompatibility when trying to use this mod with DiscordCE. It gives "You are not permitted to do that. Are you in the right mode?". I'm not sure if this is from your mod or theirs but it'd be nice to be able to pass translated text from minecraft to discord!
Thanks, that sorta worked. But now in chat, it says every message was sent by ». How do I fix this? I copied exactly what you said, yet there seems to be an issue. Would the colour of the arrows influence what the regex for it is?
Thanks, that sorta worked. But now in chat, it says every message was sent by ». How do I fix this? I copied exactly what you said, yet there seems to be an issue. Would the colour of the arrows influence what the regex for it is?
Colour codes do not affect the mod. It's probably the Unicode character that is causing this. Or probably the prefix you mentioned is optional(Like donators and normal players).
Try this instead.
(\w+ )?%name% \u00BB
Here. Copy them without the quotes.
"(\[.+\]\w+ )?\[\w+\]:%name% : "
"\[%name%\] "
Unicode like these can still be put to a regex. I've made the mod so that it is compatible with all chat plugins, but it requires you to configure it. It's simply impossible to add all cases of chat messages as there are too many plugins.
Try adding this to your regex list. Remove the quotes.
". \w+ \[\w+\] %name%: "
Check the FAQ for further details.
It seems you all have the same issue. For the record, regex works with 100% accuracy. So the problem mostly lies on the translation server. Sometimes the server just refused to do anything(I know, it's frustrating). I have included a "fix" for this. Open the mod config menu and click "Manual translate". There you have to select the language of the message, then click on the message to translate.
That would mean that the translation is unsuccessful. I don't know why. Sometimes the server says that message is translated, but it doesn't. The output is the same as the input. I filtered out these useless junk from the chat so that's probably the cause.
There isn't much I can do, because it works perfectly in the server I play.
I have tried to get this to work for both Global Chat and messages, but haven't been successful with GChat. I have tried to add some regex filters, to no avail. I have succeeded in getting it to work on Regexr, but haven't been able to successfully transfer it over due to %name%.
Edit: I may have found the reason for it (Formatting Codes). Will do further testing, but there's an image of the launcher code below. Will be trying to see if I can get it to work now that I found this. Will notify if I figure it out. Please help. Lol
Edit2: SOLVED IT!! Needed to add the Regex .+\[.+\] (\W\d)?\w+(\W\d)?: Just replaced \w+ with %name%.
Edit3: Just came upon a new issue. On servers where you can change your nickname, there needs to be a way to add in formatting codes in names. At least adding an option to remove needing %name% in the script line.
The mod automatically removes all formatting codes before translating, so you don't need to add rules for formatting codes at all. The %name% tag is used for identifying who send this message. It's a feature suggested by many.
I seem to be having an issue that i can translate from a English to another language but not different language to English. Fix? Also, This only seems to be on servers
There seems to be some incompatibility when trying to use this mod with DiscordCE. It gives "You are not permitted to do that. Are you in the right mode?". I'm not sure if this is from your mod or theirs but it'd be nice to be able to pass translated text from minecraft to discord!
I am sorry for the slow reply. I've been very busy lately. I'll look into it.
I'll check it out.
I cannot tell the exact date. Exams and stuff.
Please read the instructions tab on the main post.
what would the regex be for a server that uses "PREFIX Name » <message> be?
This.
\w+ %name% »
Thanks, that sorta worked. But now in chat, it says every message was sent by ». How do I fix this? I copied exactly what you said, yet there seems to be an issue. Would the colour of the arrows influence what the regex for it is?
Colour codes do not affect the mod. It's probably the Unicode character that is causing this. Or probably the prefix you mentioned is optional(Like donators and normal players).
Try this instead.
(\w+ )?%name% \u00BB
the mod appears to be taking the character after the regex as the sender. Any reason why that would happen?
Could you show me a screenshot of your chat?
If that happens again, could you show me the debug log? Change your settings in logging level to "debug".
It may takes a few weeks before I can take a look on your issue since it's exam period.
doesnt work for me, it makes it a JAR file but it doesnt work with Java and it opens it in the minecraft launcher or internet explorer please help
I am not sure what you are talking about, but you don't seem to know how to install mods.
Try Googling how to install forge mods.
I cant wait for the 1.11.2 version to come out :3 Hope it will be online soon ^^