A full-stack language translation application built with React and Express that uses the MyMemory Translation API to translate text between multiple languages in real time.
- 🌍 Translate text between 10 major global languages:
- English
- Hindi
- Spanish
- French
- German
- Chinese
- Arabic
- Portuguese
- Russian
- Japanese
- 🔄 One-click language swap (including translated text)
- 📋 Copy translated text to clipboard
- 🗑️ Clear input and output instantly
- 🎨 Modern dark-themed user interface
- 📱 Fully responsive design for desktop and mobile
- React
- CSS
- Vite
- Node.js
- Express
- MyMemory Translation API
cd server
node index.jsOpen another terminal and run:
npm run devTRANZLATOR/
│
├── server/
│ ├── routes/
│ │ └── translate.js
│ ├── .env
│ ├── .gitignore
│ ├── index.js
│ ├── package.json
│ └── package-lock.json
│
├── src/
│ ├── components/
│ │ ├── Tranzlator.jsx
│ │ └── Tranzlator.css
│ ├── App.jsx
│ ├── index.css
│ └── main.jsx
│
├── .gitignore
├── eslint.config.js
├── index.html
├── package.json
├── package-lock.json
├── vite.config.js
└── README.md
- Enter the text you want to translate.
- Select the source language.
- Select the target language.
- Click Translate to receive the translated text using the MyMemory Translation API.
- Use the Swap button to interchange the source and target languages along with their respective text.
- Copy the translated text or clear both fields whenever required.