Skip to content

Shevadesuyash/eclipse-translator-webapp-with-java-servlet-and-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translator Web App

GitHub repo size GitHub issues GitHub last commit

index.html page Screenshot 2024-01-22 154631

Screenshot 2024-01-22 155432

Overview

This web application serves as a language translator, allowing users to translate text from one language to another. It is built using Java servlets, HTML, CSS, and Python.

Features

  • Translation between multiple languages
  • Pronunciation display for English translations
  • Automatic language detection for user input

Technologies Used

  • Java Servlets
  • JDBC for database connectivity
  • HTML and CSS for frontend
  • Python for translation using the Googletrans library

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/Shevadesuyash/eclipse-translator-webapp-with-java-servlet-and-python.git

Set up Apache Tomcat and deploy the application.

2.Configure Python script:

Install required Python libraries:

pip install googletrans==4.0.0-rc1

3.Update the path to your Python interpreter in TranslatorServlet.java.

4.Run the application and access it through the browser.

Usage

1.Access the application:

Open the application in your web browser.

2.Enter translation details:

Enter the text to be translated, select the source language (or let it be automatically detected), and choose the target language.

3.Translation result:

result.translator.2.mp4

Click the "Translate" button to view the translated text and its pronunciation for English translations.

Contributors

Suyash Shevade

Social Media

Connect with me:

Feel free to reach out and stay updated on social media!

License

This project is open-source and available under the MIT License.

more feature screenshot

Screenshot 2024-01-22 154641 Screenshot 2024-01-22 154648