Skip to content

rusthype/Translator_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Inline Translator Bot

Auto-translates messages between Uzbek, Russian, and English — works in any chat via inline mode.

Python Aiogram License


Features

  • Inline mode — works in any Telegram chat without adding the bot to the group
  • Auto language detection — no need to specify the source language
  • Three-way translation — Uzbek ↔ Russian ↔ English
  • No paid API required — powered by deep-translator (Google Translate backend)

How It Works

Type the bot's name followed by your message in any Telegram chat:

@YourBot Salom, qanday yuribsiz?

The bot returns translation results inline — tap to send instantly.

→ Hello, how are you?
→ Привет, как дела?

Tech Stack

Layer Technology
Language Python 3.10+
Bot framework Aiogram 3
Translation deep-translator (Google Translate)

Quick Start

git clone https://github.com/rusthype/Translator_bot
cd Translator_bot
pip install -r requirements.txt

Create .env:

BOT_TOKEN=your_telegram_bot_token

Run:

python main.py

Usage

Open any Telegram chat (group, channel, or DM) and type @YourBot followed by the text you want translated. Select a translation from the inline results to send it.

Works without adding the bot to the chat — just mention it anywhere.


Contributing

Pull requests are welcome. Report bugs or suggest features via Issues.


Made in Uzbekistan 🇺🇿 · alochi.org

About

Telegram translation bot — auto-translates messages between Uzbek, Russian and English using AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages