✨ Translate text seamlessly between languages! ✨
- 🔍 Features
- 🛠️ Installation
- 🚀 Usage
- 📂 Project Structure
- 🤝 Contributing
- ✍️ Text Input and Output: Input text to be translated and view the translation.
- 🌍 Language Selection: Choose source and target languages via dropdown menus.
- 🔊 Text-to-Speech: Listen to the translated text using the audio feature.
- 📋 Copy to Clipboard: Easily copy the text with a single click.
- 🎙️ Microphone Input: Voice input functionality (to be implemented).
- 🔄 Exchange Languages: Swap the source and target languages effortlessly.
Follow these steps to run the project locally:
1️⃣ Clone the repository:
git clone https://github.com/haniyakonain/language-translator.git
cd language-translator 2️⃣ Open the project directory:
cd language-translator 3️⃣ Open the application:
- Simply double-click on the
index.htmlfile, or open it in your preferred web browser.
- 🖊️ Enter the text you wish to translate in the "Enter text" field.
- 🌍 Select the source and target languages from the dropdown menus.
- 🔄 Click the "Translate Text" button to generate the translation.
- 🎙️ Use the microphone icon for voice input (functionality coming soon).
- 🔊 Use the speaker icons for text-to-speech conversion.
- 📋 Use the copy icons to copy the text to your clipboard.
↔️ Click the exchange icon to swap the source and target languages.
language-translator/
│
├── backend/
│ ├── countries.js # Language and country data
│ └── script.js # Main application functionality
│
├── style.css # Application styling
├── index.html # Main HTML file
└── README.md # Project documentation We welcome contributions to improve this project!
- 🍴 Fork the repository.
- 🌟 Create a new branch:
git checkout -b feature/YourFeature
- 🛠️ Make your changes.
- 💾 Commit your changes:
git commit -m 'Add some feature' - 📤 Push to the branch:
git push origin feature/YourFeature
- 🔁 Open a Pull Request.
✨ Built with ❤️ by Haniya Konain and team.