Skip to content

Amin-moniry-pr7/Telegram_Translator_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Translate_BOT - Telegram Translation Bot 🌍

A Telegram bot that translates text between 9 languages:

Languages Supported:

  • 🇺🇸 United States (English)
  • 🇮🇷 Iran (Persian)
  • 🇫🇷 France (French)
  • 🇰🇷 South Korea (Korean)
  • 🇪🇸 Spain (Spanish)
  • 🇸🇪 Sweden (Swedish)
  • 🇨🇳 China (Chinese)
  • 🇹🇷 Turkey (Turkish)
  • 🇸🇦 Saudi Arabia (Arabic)

Features:

  • Auto language detection
  • Easy-to-use interface

Requirements:

  • Python 3.12.4 or later
  • Libraries: pyTelegramBotAPI, googletrans

Installation:

pip install pyTelegramBotAPI googletrans==4.0.0-rc1

Setup:

  1. Clone the repository:
    git clone https://github.com/username/repository_name.git
    cd repository_name
  2. Set the bot token:
    export BOT_TOKEN=your_bot_token
  3. Run the bot:
    python translator 🌍.py

Usage:

  1. Start with /start.
  2. Choose source and target languages.
  3. Send text for translation.

Security:

  • Keep your BOT_TOKEN secure.
  • Use .env and .gitignore.

License:

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License.


This should work well when added to your GitHub repository’s `README.md`. It organizes the content with clear headers, and it's formatted properly to make it easy to read and use.

About

This bot can translate 9 languages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages