Bing Translate

by Reaby

System

XASECO

Description

Translate chat text via Bing
Translation can be done with the plugin via chat commands or auto-translation, but also with the standalone server script.

Chat commands

/translate text|lang - Translate text to language
/autotranslate lang - Turn autotranslate on
/autotranslate off - Turn autotranslate off
/logtranslate lang - Popup a chatlog for translating
Admins (any level) only:
/translate on - Turn global translate on
/translate off - Turn global translate off
/translate login|on - Turn player translate on
/translate login|off - Turn player translate on
/autotranslate login|lang - Turn autotranslate on for player
/autotranslate login|off - Turn autotranslate off for player

lang is 2 letter version of country, or target language name in lowercase. If language is not found or you forgot to enter the target, it will be translated into English.

Installation

1. unzip the script to xaseco base directory
2. get API id from http://www.bing.com/developers/appids.aspx and enter it into bing_translate.xml
If not using the standalone version:
3. edit xaseco's plugins.xml and include the following line:
Code:
<plugin>plugin.99.btrans.php</plugin>
4. restart xaseco

Link(s)

Forum: http://www.tm-forum.com/viewtopic.php?t=29225

Download(s)

File Version Date Size Downloads
bing_translate(1.1).zip 1.1 2012-01-05 19.93 KB 845