Multilingual-Translator

Multilingual Translatorは、ユーザーが一つの言語で入力し、即座に別の言語に翻訳を受け取ることができるリアルタイムの多言語翻訳アプリです。20以上の言語をサポートし、クリーンなStreamlitインターフェースを通じてスムーズな会話型インタラクションを可能にします。Flaskを使用したバックエンドとOpenAIのLLMを利用した高品質な翻訳と音声合成が特徴です。

GitHubスター

0

ユーザー評価

未評価

フォーク

0

イシュー

0

閲覧数

1

お気に入り

0

README
🌐 Multilingual Translator

Multilingual Translator a real-time multilingual translation app that allows users to type in one language and receive an instant translation in another, optionally with audio output. It supports 20+ languages and enables smooth, conversational interaction through a clean Streamlit interface. The backend is built with Flask and uses OpenAI's LLMs for high-quality translation and text-to-speech synthesis. The architecture follows an MCP server concept, where each task—text handling, translation, and speech generation—is treated as a modular tool. This design enables clean separation of logic, easier maintenance, and scalability for adding more tools (like summarization or Q&A) in the future.

Index

🎯 Features
  • 🔤 Text-to-Text Translation: Translate any input between major global languages using OpenAI.
  • 🗣️ Text-to-Speech Generation: Speak out translations in a natural voice.
  • 📲 Real-time Interface: Built with Streamlit for an interactive front-end experience.
  • 🌍 Supports 20+ Languages: Easily switch source and target languages from dropdowns.
Architecture Overview
        ┌──────────────────────────────┐
        │        Streamlit UI          │
        │  - Text Input                │
        │  - Language Dropdown         │
        │  - Button: Translate & Speak │
        └────────────┬─────────────────┘
                     │
                     ▼
            User Input Triggered
                     │
                     ▼
┌────────────────────────────────────────────┐
│              Flask MCP Server              │
│────────────────────────────────────────────│
│ - Receives input text & user_id            │
│ - Adds to context_store[user_id]           │
│ - GPT translates based on history          │
│ - Audio (mp3) is generated using OpenAI    │
│ - Returns translated text + audio URL      │
└────────────────────┬───────────────────────┘
                     │
                     ▼
        ┌────────────────────────────┐
        │ Streamlit Displays Output  │
        │ - Text area for translation│
        │ - Audio player for speech  │
        └────────────────────────────┘
📸 Screenshot

Index

🔮 Future Enhancements

🗣️ Improve Voice Accuracy Enhance speech-to-text reliability and support real-time voice streaming.

🧵 Conversational Thread Memory Store previous translations per user for smarter context switching.

🌐 Multilingual Chat Mode Enable live chat interface between two people speaking different languages.

📱 Mobile-Friendly Interface Optimize Streamlit UI for small screens with mic and TTS controls.

Author

👤 Vetrivel Maheswaran

Connect With Me 🌐

LinkedIn

PortFolio

© Created by Vetrivel Maheswaran

作者情報
Vetrivel Maheswaran

Intelligence may be coded, but innovation is lived-and earned-by humans.

Rochester Institute of TechnologyNew York

14

フォロワー

18

リポジトリ

0

Gist

3

貢献数

トップ貢献者

スレッド