AI-Travel-Language-Translator is a web-based tool designed to facilitate seamless communication for travelers by providing real-time language translation. Built with a clean, responsive interface, it leverages powerful external libraries to enhance functionality and user experience.
This project empowers travelers with instant, reliable translations through an intuitive web app.
- Real-Time Multilingual Translation: Supports 20+ global and Indian languages with cultural context notes and pronunciation guides powered by Google’s Gemini LLM API.
- Speech Recognition & Voice Translation: Uses Web Speech API for hands-free translation in diverse environments.
- Robust UI Foundation: Well-structured
index.htmlintegrates styling and layout for a smooth user experience. - Firebase Integration: Real-time data management, cloud storage, and backend support for dynamic translation updates.
- Offline Support: Stores translation history, favorite phrases, and essential collections in
localStoragefor usage without internet. - Engaging Animations: Smooth, attractive AOS animations enhance usability.
- Iconography with Font Awesome: Clear, visual cues to guide users effortlessly.
- Developer-Friendly Architecture: Easy customization and extension for diverse translation needs.
- Frontend: HTML5, CSS3, JavaScript, AOS Animation, Font Awesome
- Backend & APIs: Firebase, Google Gemini LLM API, Web Speech API
- Storage: Firebase Firestore, LocalStorage
- Deployment: GitHub Pages / Netlify
-
Clone the repository
git clone https://github.com/your-username/AI-Travel-Language-Translator.git cd AI-Travel-Language-Translator -
Open
index.htmlin a browser Or use a local server for testing (e.g., Live Server in VS Code). -
Add your API keys
- Set up Firebase configuration in
firebase-config.js. - Add your Google Gemini API key in
translator.js.
- Set up Firebase configuration in
- Select a source and target language.
- Type or speak into the input field for translation.
- View cultural notes and pronunciation guides.
- Save translations for offline access.
- Use categorized travel phrasebooks for quick translations.
This project is licensed under the MIT License – you’re free to use, modify, and distribute it.