Skip to content

Latest commit

 

History

History
74 lines (44 loc) · 2.61 KB

README.md

File metadata and controls

74 lines (44 loc) · 2.61 KB

🌐 React Translate App

A modern translation application built with React, featuring real-time text translation, text-to-speech functionality, and an elegant user interface. This project is intended for educational purposes, exploring various web technologies, and learning different language features.


🖥️ Features

  • 🌍 Language Translation: Translate text between multiple languages using a web API.
  • 🎙️ Text-to-Speech: Speak the translated text with language-specific voices.
  • 🚀 Fast and Responsive: Built using React and TailwindCSS for a seamless experience.
  • 📱 Elegant UI: Gradient backgrounds and smooth interactions for a visually appealing design.
  • 🛠️ Customizable: Add more languages or enhance the UI easily.

🛠️ Tech Stack

  • Frontend:
    • React
    • TypeScript
    • Vite
  • Styling:
    • TailwindCSS
  • Utilities:
    • Axios

🌐 Web API Used

MyMemory Translation API

The app leverages the MyMemory Translation API to fetch translations in real-time. This API supports various language pairs and provides a free tier for testing purposes.

SpeechSynthesis API

The browser-native SpeechSynthesis API is used for text-to-speech functionality, allowing the app to speak translated text with the appropriate language voice.


🎥 Screenshots and Demo

Home Screen

Home Screen

Translation Result

Translation Result

Live Demo

Check the Live Demo Here!


🚧 Limitations & Future Enhancements

  • Current API limitations may restrict extensive usage (e.g., rate limits).
  • Adding more robust error handling and fallback mechanisms.
  • Incorporating offline translation support using local dictionaries.

⚠️ Disclaimer

This project is solely for educational purposes and should not be used in production without thorough testing and validation.


📄 License

MIT License. Free to use and modify for personal or commercial purposes. Contributions are welcome!