Skip to content

adbenitez/simplebot_translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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