Logo Lanfrica

ThegalDev/babel-fish-translator

Domain:

natural language processing

Record type:

software
Creator:
The
Host:
A voice-enabled universal translator powered by Google Gemini AI. Works perfectly from Nigeria and anywhere in the world! # 🐟 Babel Fish Translator (Nigeria-Friendly Version) A voice-enabled universal translator powered by Google Gemini AI. Works perfectly from Nigeria and anywhere in the world! 🌍 ## Features - βœ… **Voice Input**: Speak in any supported language - βœ… **AI Translation**: Powered by Google Gemini AI (Free!) - βœ… **Voice Output**: Hear translations spoken back to you - βœ… **Text Input**: Type messages for translation - βœ… **Multiple Languages**: English, Spanish, French, German, Italian, Portuguese, Chinese, Japanese, Yoruba, Igbo, Hausa - βœ… **Dark Mode**: Easy on the eyes - βœ… **100% Free**: No paid APIs required - βœ… **Works Worldwide**: Including Nigeria! πŸ‡³πŸ‡¬ ## Technologies - **Backend**: Python 3.11 + Flask - **AI Translation**: Google Gemini AI (Free) - **Speech-to-Text**: Browser's Web Speech API (Free) - **Text-to-Speech**: Browser's Speech Synthesis API (Free) - **Frontend**: HTML5, CSS3, JavaScript, Bootstrap 5 ## Prerequisites - Python 3.11 or higher - Modern web browser (Chrome recommended) - Google account (for Gemini API key) - Git and GitHub account ## Quick Start ### 1. Get Google Gemini API Key 1. Go to Google AI Studio 2. Click "Get API Key" 3. Copy your API key (it's free!) ### 2. Clone and Setup ```bash # Clone repository git clone github.com cd babel-fish-translator # Create virtual environment python3.11 -m venv venv # Activate virtual environment # Windows: venv\Scripts\activate # Mac/Linux: source venv/bin/activate # Install dependencies pip install -r requirements.txt ``` ### 3. Configure Environment Create `.env` file in root directory: ```env GOOGLE_API_KEY=your_gemini_api_key_here ``` ### 4. Run Application ```bash python server.py ``` Open browser: `127.0.0.1` ## πŸ“– How to Use ### Text Translation 1. Select "From" and "To" languages 2. Type your message 3. Click send button or press Enter 4. See translation instantly 5. Click "Hear Translation" to listen ### Voice Tr …