Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

majilanIS/english_amharic_translation_telegram_bot

Domaine:

natural language processing

Type de record:

software
Créateur:
maj
Hôte:
# English-Amharic Translator Bot A Telegram bot that translates English text to Amharic using an external translation API. ## Features - Receives messages from users or groups - Translates English text to Amharic - Replies with the translated text ## Requirements - Python 3.7+ - Telegram Bot Token - Translation API Key (and endpoint, if required) ## Installation 1. Clone this repository: ```bash git clone cd English_amharic-translator-bot ``` 2. Create and activate a virtual environment (optional but recommended): ```bash python -m venv .venv .venv\Scripts\activate # On Windows ``` 3. Install dependencies: ```bash pip install -r requirements.txt ``` ## Configuration 1. Create a `.env` file in the project root with the following content: ```env TELEGRAM_BOT_TOKEN=your_telegram_bot_token BOT_USERNAME=@your_bot_username TRANSLATION_API_KEY=your_translation_api_key TRANSLATION_API_URL=api.translateapi.ai ``` Replace the values with your actual credentials. ## Usage 1. Start the bot: ```bash python app.py ``` 2. Send a message to your bot on Telegram. The bot will reply with the Amharic translation. ## Troubleshooting - **Conflict: terminated by other getUpdates request**: Make sure only one instance of the bot is running. - **Translation failed / 403 Forbidden**: Check your translation API key and endpoint in the `.env` file. ## License MIT License

Visit

github.com

Tasks

machine translation

Languages

Amharic