Skip to content

alokzef/Js-TXT-Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 JavaScript Text to Text Translator

License Version JavaScript

A robust, web-based application that provides real-time text translation between multiple languages. Built using HTML, CSS, and Vanilla JavaScript, this project leverages an informal Google Translate endpoint to provide its functionality.


🚀 Demo


✨ Features

  • Multi-Language Support: Translate text between 58 different languages.
  • Real-time Translation: Get instant results as you type, with debouncing to optimize performance.
  • Auto-Detect Language: Automatically identifies the source language.
  • File Upload: Translate content directly from .txt files.
  • Download Translation: Save the translated text as a .txt file.
  • Dark Mode: A sleek dark mode for comfortable viewing in low-light environments.
  • Responsive Design: Fully optimized for desktop, tablet, and mobile devices.

🛠 Tech Stack

  • Frontend: HTML5, CSS3, JavaScript (ES6+)
  • API: An unofficial, free endpoint from Google Translate.
  • Deployment: GitHub Pages

🏁 Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

  • A modern web browser (e.g., Chrome, Firefox, Edge).
  • A code editor (e.g., VS Code).

Installation

  1. Clone the repository:
    git clone https://github.com/alokzef/Js-TXT-Translator.git
  2. Navigate to the project directory:
    cd Js-TXT-Translator
  3. Open the index.html file in your web browser to view the application.

⚠️ Note on API Usage

This project uses an unofficial, undocumented API endpoint from Google Translate (translate.googleapis.com). This endpoint is not intended for production use and may be subject to rate-limiting, breaking changes, or discontinuation by Google at any time.


About

A web-based application that provides real-time text translation between multiple languages. Built using HTML, CSS, and Vanilla JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors