Skip to main content

🌎 Translator plugin for SimpleBot

Project description

https://img.shields.io/pypi/v/simplebot_translator.svg https://img.shields.io/pypi/pyversions/simplebot_translator.svg https://pepy.tech/badge/simplebot_translator https://img.shields.io/pypi/l/simplebot_translator.svg https://github.com/adbenitez/simplebot_translator/actions/workflows/python-ci.yml/badge.svg https://img.shields.io/badge/code%20style-black-000000.svg

🌎 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplebot_translator-1.4.1.tar.gz (12.7 kB view hashes)

Uploaded Source

Built Distribution

simplebot_translator-1.4.1-py3-none-any.whl (10.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page