adbenitez / simplebot_translator

🌎 Translator plugin for SimpleBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Translator

https://pepy.tech/badge/simplebot_translator

🌎 Translator plugin for SimpleBot.

This plugin registers the /tr command that end-users can use to translate text. Example: /tr en es hello world.

Install

To install run:

pip install simplebot-translator

To configure default engine use:

simplebot db -s simplebot_translator/engine deepl

To configure default language used in filter use:

simplebot db -s global/language en

To disable the default filter and only allow to translate with commands:

simplebot db -s global/filter_enabled no

You may need to install other dependencies to make some engines work, check: https://github.com/UlionTse/translators

Available engines

  • google
  • yandex
  • bing
  • sogou
  • baidu
  • tencent
  • youdao
  • alibaba
  • deepl

About

🌎 Translator plugin for SimpleBot

License:Mozilla Public License 2.0


Languages

Language:Python 100.0%