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.
- Translation between multiple languages
- Pronunciation display for English translations
- Automatic language detection for user input
- Java Servlets
- JDBC for database connectivity
- HTML and CSS for frontend
- Python for translation using the Googletrans library
- Java Development Kit (JDK)
- Apache Tomcat
- Python installed with required libraries (
googletrans==4.0.0-rc1
)
-
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.
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.
Suyash Shevade
Connect with me:
Feel free to reach out and stay updated on social media!
This project is open-source and available under the MIT License.