Skip to content

haniyakonain/language-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 Language Translator

Translate text seamlessly between languages!


📖 Table of Contents


🔍 Features

  • ✍️ 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.

🛠️ Installation

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.html file, or open it in your preferred web browser.

🚀 Usage

  1. 🖊️ Enter the text you wish to translate in the "Enter text" field.
  2. 🌍 Select the source and target languages from the dropdown menus.
  3. 🔄 Click the "Translate Text" button to generate the translation.
  4. 🎙️ Use the microphone icon for voice input (functionality coming soon).
  5. 🔊 Use the speaker icons for text-to-speech conversion.
  6. 📋 Use the copy icons to copy the text to your clipboard.
  7. ↔️ Click the exchange icon to swap the source and target languages.

📂 Project Structure

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  

🤝 Contributing

We welcome contributions to improve this project!

  1. 🍴 Fork the repository.
  2. 🌟 Create a new branch:
    git checkout -b feature/YourFeature  
  3. 🛠️ Make your changes.
  4. 💾 Commit your changes:
    git commit -m 'Add some feature'  
  5. 📤 Push to the branch:
    git push origin feature/YourFeature  
  6. 🔁 Open a Pull Request.

✨ Built with ❤️ by Haniya Konain and team.

About

real time project made it for getting 2 credits in engineering :D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published