This is telegram bot to translate text to any language. This bot uses python library googletrans
to translate the text.
You have to initialize by /start
command. Enter /help
for list all command.
To translate just enter the text. To translate to specific language enter the text in following format
Lang Code | Text
for example
hi | Hi im a language translator bot
This will translate the text to Hindi.
Same format follows for inline translation. /list command will list all the language code.
It is presumed that you have obtained an API token with @BotFather. Refer here for more info.
You need to install following python package : python-telegram-bot
, googletrans
,python-telegram-bot[ext]
pip install -r requirements.txt
Copyright ยฉ 2023 Dharun A P.
This project is MIT licensed.