🌎 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
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.0.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for simplebot_translator-1.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4b23662e3fd6cf080997cffd0b1842171c0b65626d4f0ef6bae77134193366c |
|
MD5 | 9f1a76293c52a89c3ac76b76a655372d |
|
BLAKE2b-256 | d753bd4152d40aea237c4220f19e5800b372153441ec150813c20507c049878b |
Close
Hashes for simplebot_translator-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1487e1362e57ea179b03ba00b6b543d839472389def3c74e37f3b9791f3030f |
|
MD5 | 4a4533e1786d23501de9247fa44af629 |
|
BLAKE2b-256 | 09d29225143d92073388b279e91c33153e4b005d4c4771706da4e971332525a6 |