Skip to content

lagysha/TelegramTranslationBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Translation Bot

Introduction

The Java Telegram Translation Bot with Azure Text Translation is a versatile and user-friendly bot designed to facilitate real-time language translation within Telegram. This bot leverages the power of Azure Text Translation services to provide seamless multilingual communication between users.

Features

  • Language Support: Translate messages and captions to and from over 100 languages.
  • Auto Language Detection: Automatically detects the source language, making translation effortless.
  • Chat Compatibility: Works seamlessly in both private and group chats.
  • Channel Translation: Translate messages and captions in channels (requires admin permissions).
  • Formatting Preservation: Preserves the original formatting of the text.

Technologies Used

Telegram Translation Bot leverages several powerful technologies and frameworks to provide a robust and efficient translation solution:

  • Spring Boot Logo Spring Boot: A widely-used Java framework for creating production-grade Spring-based applications, offering features like auto-configuration and embedded servers.
  • Spring Cloud Logo Spring Cloud: A collection of tools and frameworks for simplifying the development of distributed systems, including service discovery and configuration management.
  • Mockito Logo Mockito: A Java testing framework for creating mock objects, facilitating clean and readable unit tests.
  • PostgreSQL Logo PostgreSQL: A robust open-source relational database management system known for its reliability and performance.
  • Lombok Logo Lombok: A Java library that reduces boilerplate code with annotations for common tasks like getters, setters, and constructors.
  • H2 Database Logo H2: An open-source in-memory database known for its speed and small footprint.
  • Spring Data Logo Spring Data JPA: Part of the Spring Data family, it simplifies JPA-based repository implementation.
  • Azure Logo Azure AI Text Translation: Microsoft Azure's cloud-based machine translation service, offering fast and accurate translations.
  • MongoDB Logo MongoDB: A popular NoSQL document-oriented database known for its flexibility and scalability.
  • Telegram Icon TelegramBotAPI: Streamlines Telegram bot creation with Spring Boot, offering webhook registration and message handling.

Getting Started

To start using the Telegram Translation Bot, follow these steps:

  1. Clone this repository.
  2. Configure your environment and dependencies.
  • 2.1 Register azure text transaltor
  • 2.2 Register telegram bot
  • 2.3 Integrate registered APIs with this project through environment variables
  1. Build and run the project.

About

The Java Telegram Translation Bot with Azure Text Translation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages