Page 1 of 1

[Plugin] Google Translate (api shutdown coming from google)

Posted: 01 Feb 2011, 01:35
by reaby
read carefully the documentation and it should work with no problems, it's at some stage.

Alright, you need to run mlepp\adminpanel in order to get this one working, since it depends on it for admin commands.

Player commands:

/translate "text goes here" 2lang --> where 2lang is 2 letter language code or or long name for language in english.
/autotranslate lang|off --> where lang = 2 letter code or parameter off for disabling auto translation.

Admin Commands:

/admin translate on|off --> enable / disable the service
/admin autotranslate login lang|off --> force auto translation for login and disable it

download:
http://dl.dropbox.com/u/10515655/trackm ... ve_0.3.zip

History:
0.3
Fixed admin autotranslate, it would only translate the admin own chat.
Fixed autotranslate not to output console debug message when player enters nothing to chat.


have fun,
reaby

Re: [Plugin] Google Translate (alpha for enhustiatics)

Posted: 01 Feb 2011, 02:28
by Knutselmaaster
This is a great idea, and it works very good too, even when in alpha.

Re: [Plugin] Google Translate (0.2)

Posted: 02 Feb 2011, 13:02
by Knutselmaaster
Arabic does not work in tm.
/Admin autotranslate login lang results always in autotranslate for me, no matter which login i enter.
The playercommand autotranslate works fine

edit; there is a word missing in line 238

Code: Select all

			$message = "$translate Translate service is turned for you.";

Re: [Plugin] Google Translate (0.2)

Posted: 03 Feb 2011, 12:41
by aseco
Nice plugin, did run it on my server without problems.
Install was quite easy, like it :!:

Re: [Plugin] Google Translate (0.3)

Posted: 03 Feb 2011, 14:22
by reaby
Fixed some issues with autotranslate,and corrected the missing word.

Re: [Plugin] Google Translate (0.3)

Posted: 07 Jun 2011, 06:59
by reaby
Announcement from Google:

Important: The Google Translate API has been officially deprecated as of May 26, 2011. Due to the substantial economic burden caused by extensive abuse, the number of requests you may make per day will be limited and the API will be shut off completely on December 1, 2011.

The api will be updated at some point and they will collect a fee for using the service. Stay tuned, i might do an updated version.

Re: [Plugin] Google Translate (api shutdown coming from goog

Posted: 07 Jun 2011, 07:37
by Knutselmaaster
Freezone Google translate? Every 5 words you will have to wait 1?
But more seriously, that is too bad, i liked the plugin a lot but will not pay for it.