/b3-plugin-translator

A BigBrotherBot plugin which is capable o translating in-game chat messages into a specified language.

Primary LanguagePython

Translator Plugin for BigBrotherBot BigBrotherBot

Description

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.


Download

Latest version available here.

Installation

  • copy the translator folder into b3/extplugins

  • add to the plugins section of your b3.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.

In-game user guide

  • !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.

Support

If you have found a bug or have a suggestion for this plugin, please report it on the B3 forums.

Build Status