Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Translator

A modern, responsive web application for text translation built with Flask and DeepL.

Features

  • Real-time Translation: Translate text instantly between multiple languages.
  • Modern UI: Clean, responsive interface with dark mode support.
  • Language Detection: Automatically detects the source language.
  • Pronunciation: Text-to-Speech (TTS) functionality to hear the translation.
  • Error Handling: Graceful error messages and loading states.

Tech Stack

  • Backend: Python 3.10+, Flask
  • Translation: deep-translator (Google Translate)
  • Frontend: HTML5, CSS3, JavaScript (Vanilla)
  • Icons: Font Awesome

Installation

  1. Clone the repository (or download the source code).

  2. Create a virtual environment (recommended):

    python -m venv venv
    venv\Scripts\activate
  3. Install dependencies:

    pip install -r requirements.txt

Usage

  1. Run the application:

    python app.py
  2. Access the app: Open your browser and navigate to http://[IP_ADDRESS].

Project Structure

AI-translator/
├── app.py              # Flask application entry point
├── requirements.txt    # Project dependencies
├── templates/
│   └── index.html      # Main HTML template
└── static/
    ├── css/
    │   └── style.css   # Stylesheets
    └── js/
        └── script.js   # Frontend logic

License

MIT

About

AI Translator - A modern Flask-based web app for real-time text translation with language detection, TTS, and a responsive UI.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages