Skip to content

antrang0912-dotcom/Pro-Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 Pro Translator Web App

A modern, feature-rich language translation web application built using HTML, CSS, and JavaScript, powered by Microsoft Azure Translator API.

This project mimics core functionality of tools like Google Translate, with a clean animated UI and useful real-world features.


🚀 Features

  • 🌍 Auto Language Detection
  • 🔤 Translate into Multiple Languages
  • 🔁 Swap Input & Output Text
  • 📋 Copy Text (Input & Output)
  • 🧹 Clear Text Fields
  • 🔊 Text-to-Speech (Speech Output)
  • Fast API-based Translation
  • 🎨 Modern Animated UI (Glassmorphism + Gradient)

🛠️ Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • API: Microsoft Azure Translator API
  • Browser APIs: Speech Synthesis (Text-to-Speech)

📁 Project Structure

📦 Pro-Translator
 ┣ 📄 index.html
 ┣ 📄 style.css
 ┣ 📄 script.js
 ┗ 📄 README.md

⚙️ Setup Instructions

1️⃣ Get Azure Translator API Key

  • Go to Microsoft Azure Portal

  • Create a Translator Resource

  • Copy:

    • API Key
    • Region (e.g., eastus, centralindia)

2️⃣ Run the Project

  1. Download or clone the repository:
git clone https://github.com/your-username/pro-translator.git
  1. Open index.html in your browser

3️⃣ Use the App

  • Enter your Azure API Key
  • Enter Region
  • Type text to translate
  • Select target language
  • Click Translate 🚀

⚠️ Important Note (Security)

This project uses the Azure API key directly in the frontend.

👉 This is not secure for production use

For real-world deployment:

  • Use a backend (Node.js / Python)
  • Store API keys securely on the server

💡 Future Improvements

  • 🎤 Speech-to-Text (Voice Input)
  • 📱 Fully Responsive Design
  • 🌍 Full Language List (100+)
  • 🧠 Translation History (Local Storage)
  • 🔐 Backend Integration for Security
  • ⚛️ React Version

📸 Preview

(Add screenshots here for better GitHub presentation)


🤝 Contributing

Feel free to fork this repository and improve it. Pull requests are welcome!


📄 License

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


👨‍💻 Author

Developed by [Your Name]


⭐ If you like this project, give it a star on GitHub!

About

Pro Translator is a feature-rich web-based language translation application designed to replicate real-world translator tools. It leverages Microsoft Azure's powerful translation services to deliver fast and accurate multilingual translations. The application includes advanced features like automatic language detection, text-to-speech output

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors