lederp ツ submitted a new resource:
Chat Translator - Translate foreign messages to english in your chat
Read more about this resource...
Chat Translator [Replaced]
Discussion in 'Plugin Support' started by lederp ツ, Jun 16, 2015.
-
You are my absolute hero! TY so much for this. One note, you may want to include in your direction that you need to put quotation marks around the api key, email, and password in the config.
-
but if anyone no write on correct grammar that no work. so good plugin bad players x )
-
put my API, email and password in correctly and surrounded by quotations.
but i get this error when the translation is attempted
Code:1:24 PM [Error] Exception raised in web request callback (IndexOutOfRangeException: Array index is out of range.) 1:24 PM [Debug] at Oxide.Plugins.Translator.languageCallback (Int32 code1, System.String response1, System.String message, .BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Translator+<OnPlayerChat>c__AnonStorey0.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
Last edited by a moderator: Jun 16, 2015 -
Code:
{ "Settings: ApiKey": "xxxxxxxxxxxxxxxxxxxxxxxxxx", "Settings: EmailAddress": "[email protected]", "Settings: Password": "xxxxxxxxxx" }
Last edited by a moderator: Jun 16, 2015 -
yea its an awesome idea, but lol not working so well.
-
Well I don't know if it's just because my server is in Dallas or what but starting about 6 months or so ago I seem to have become a major hangout for the Hispanic community and I have nothing at all against them(hell I live in Arizona) but they will spam my server chat with a non stop wall of Spanish. I used start muting them when they wouldn't stop then they'd start calling me a racist and we went round and round until I finally gave up,lol. They're at least 1/3 if not half of my server population anyway but most of my regulars know I'm alright unless I see non-stop Spanish for an hour or more straight,lol. Anyway to make a long story medium I was hoping something like this would be made eventually because there was a similar one for legacy but only translated korean.
-
No its just the api chosen, Wulf made a good point, should use the Bing api
-
lol and I just paid the $5 today to upgrade so I could let it run more the 6 hours a day
[DOUBLEPOST=1434575773,1434509232][/DOUBLEPOST]How hard would it be for you to switch this to the bing api? It does look like it would work a lot better. With this anytime anytime anyone just leaves a punctuation out of a word or uses internet talk like "lol" it comes becak with an error in chat and the console -
This to spanish!!!!
-
Wulf Community Admin
-
Interesting I was not getting notfications regarding questions to this plugin, my apologies.
I will look into Bing translation API for next version, along with settings which language to and from (or if needed, multiple). -
Nice TY
-
lederp ツ updated Chat Translator with a new update entry:
Changed to bing API - auto detect language
-
Thx, giving it a try right now. Again might wanna tell people they need to put qoutation marks around the word english or whatever language they put in the config. Also might wanna update the overview page. Thx again for this
-
Done and done, thanks for the suggestion.
-
Doesn't work Get nothing in chat if I type a different language in
-
Anything appear in the server console?
What is your config file set as? Also, have you restarted your server after installing the new mod?
Thanks -
{
"Settings: TranslateTo": "English"
}
Didn't see any errors and yes did restart -
Sorry - I didnt put it in the notice when originally updating, to translate you need to do the short code for lang, e.g English = en, French = fr etc.