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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file simplebot_translator-1.4.1.tar.gz.

File metadata

  • Download URL: simplebot_translator-1.4.1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for simplebot_translator-1.4.1.tar.gz
Algorithm Hash digest
SHA256 95b1be5f6e06704e177b31c5a7ebb4d9370c03e3e4f3d76c1e0fdd60d1faea05
MD5 0e43b3ff226114752530f2fed9c9ebba
BLAKE2b-256 5bafe7e41059fcf1014e16c10a581b51d22eedca3d2077f0194753401c3a9f89

See more details on using hashes here.

File details

Details for the file simplebot_translator-1.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for simplebot_translator-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 45a66124847f66f630c380baf20782fb412a6b1431c84237b47e1035cfc52191
MD5 b12472c163ef12ad808c485d1fdd96fb
BLAKE2b-256 55eff16df48c124bca86d1dbf78339caede22cfee05ab7f2acc4f2d03c026f65

See more details on using hashes here.

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