Skip to content

This can be used to translate any English blob of text into a wide variety of indie languages

Notifications You must be signed in to change notification settings

Asrivast1/translate_to_indie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English to Indian Language Translator

CLI Prompt

This Python script enables you to translate English text from an input text file into multiple Indian languages. It leverages various Indian language translation libraries and APIs to provide translations for a wide range of Indian languages.

Features

  • Translation from English to multiple Indian languages.
  • Supports popular Indian languages such as Hindi, Bengali, Tamil, Telugu, and more.
  • Easy-to-use command-line interface (CLI) for quick translations.

Usage

Cloning the Repository

To use the English to Indian Language Translator, clone this repository to your local machine:

git clone https://github.com/Asrivast1/translate_to_indie.git

Running the Notebook Locally

  1. Clone the repository:

    git clone https://github.com/Asrivast1/translate_to_indie.git
  2. Create a virtual environment to isolate the project dependencies:

    python -m venv myenv
  3. Activate the virtual environment:

    • On Windows:
      myenv\Scripts\activate
    • On Linux/Mac
      source myenv/bin/activate
  4. Install the required libraries from the requirements.txt file:

    pip install -r requirements.txt
  5. Run the translation script:

    python translator.py input.txt

    Replace input.txt with the name of the file containing the English text you want to translate.

  6. Follow the on-screen prompts to select the target Indian language for translation.

Supported Languages

This script currently supports translation into several Indian languages which are listed below -:

  • Bengali
  • Gujarati
  • Hindi
  • Malayalam
  • Marathi
  • Punjabi
  • Tamil
  • Telugu
  • Urdu

Customization

You can customize the script by adding additional Indian languages or modifying the translation logic according to your specific requirements.

Do consider to star this project if you find it useful ⭐

About

This can be used to translate any English blob of text into a wide variety of indie languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages