A BigBrotherBot plugin which is capable o translating in-game chat messages into a specified language.
NOTE: since B3 v1.10.1 beta this plugin has been included in the standard plugins set, thus all patches and updates will be performed in the official B3 repository.
Latest version available here.
-
copy the
translator
folder intob3/extplugins
-
add to the
plugins
section of yourb3.xml
config file:<plugin name="translator" config="@b3/extplugins/translator/conf/plugin_translator.ini" />
-
install langdetect python module (from pypi) to support exclude_language setting.
- !translate [<source>]*[<target>] <message>
translate a message
- !translast [<target>]
translate the last available sentence from the chat
- !transauto <on|off>
turn on/off the automatic translation
- STRONGLY DISADVISED (unless you would like your server to get banned from Google...) - !translang
display the list of available language codes
It is advised to increase min_time_between to reduce the likelihood of a google temporary ban.
If you have found a bug or have a suggestion for this plugin, please report it on the B3 forums.