Skip to content

Latest commit

Β 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CodeAlpha_Project_LanguageTranslationTool

Overview

The Simple Language Translator is a Python-based tool that allows users to translate text from one language to another using machine translation techniques. This tool leverages the deep_translator library, specifically the Google Translator API, to provide accurate translations.

Features

  • Translate text from any language to a specified target language.
  • Automatically detect the source language.
  • Supports multiple languages using language codes (e.g., 'es' for Spanish, 'fr' for French).

Requirements

  • Python 3.x
  • deep_translator library

Installation

To get started, clone this repository and install the required dependencies:

git clone https://github.com/Wajiha-Batool5/CodeAlpha_Project_LanguageTranslationTool.git
cd <repository-directory>
pip install deep-translator

Usage

  1. Run the script:

    python translator.py
    
  2. Follow the prompts:

    • Enter the text you want to translate.
    • Enter the target language code (e.g., 'es' for Spanish, 'fr' for French).
  3. The translated text will be displayed.

About

🌐 Language Translation Tool: A simple Python tool that uses deep\_translator and the Google Translate API to translate text between languages. Supports auto-detection of source language and multiple target languages via language codes. Easy to use via command-line prompts.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages