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

Post here every finished plugin

Moderator: NADEO

Post Reply
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

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

Post 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
Last edited by reaby on 07 Jun 2011, 07:01, edited 3 times in total.
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

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

Post by Knutselmaaster »

This is a great idea, and it works very good too, even when in alpha.
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin] Google Translate (0.2)

Post 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.";
User avatar
aseco
Posts: 96
Joined: 06 Jul 2010, 17:08
Location: Germany
Contact:

Re: [Plugin] Google Translate (0.2)

Post by aseco »

Nice plugin, did run it on my server without problems.
Install was quite easy, like it :!:
i7 920 | Nvidia GTX260 | 4Gb DDR3
www.floschnell.de | I like that comic
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: [Plugin] Google Translate (0.3)

Post by reaby »

Fixed some issues with autotranslate,and corrected the missing word.
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: [Plugin] Google Translate (0.3)

Post 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.
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

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

Post 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.
Post Reply

Return to “ManiaLive Plugins”

Who is online

Users browsing this forum: No registered users and 1 guest