🌎 Translator plugin for SimpleBot
Project description
🌎 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)
Built Distribution
Close
Hashes for simplebot_translator-1.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b1be5f6e06704e177b31c5a7ebb4d9370c03e3e4f3d76c1e0fdd60d1faea05 |
|
MD5 | 0e43b3ff226114752530f2fed9c9ebba |
|
BLAKE2b-256 | 5bafe7e41059fcf1014e16c10a581b51d22eedca3d2077f0194753401c3a9f89 |
Close
Hashes for simplebot_translator-1.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45a66124847f66f630c380baf20782fb412a6b1431c84237b47e1035cfc52191 |
|
MD5 | b12472c163ef12ad808c485d1fdd96fb |
|
BLAKE2b-256 | 55eff16df48c124bca86d1dbf78339caede22cfee05ab7f2acc4f2d03c026f65 |