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.
- 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.
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
-
Clone the repository:
git clone https://github.com/Asrivast1/translate_to_indie.git
-
Create a virtual environment to isolate the project dependencies:
python -m venv myenv
-
Activate the virtual environment:
- On Windows:
myenv\Scripts\activate
- On Linux/Mac
source myenv/bin/activate
- On Windows:
-
Install the required libraries from the requirements.txt file:
pip install -r requirements.txt
-
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.
-
Follow the on-screen prompts to select the target Indian language for translation.
This script currently supports translation into several Indian languages which are listed below -:
- Bengali
- Gujarati
- Hindi
- Malayalam
- Marathi
- Punjabi
- Tamil
- Telugu
- Urdu
You can customize the script by adding additional Indian languages or modifying the translation logic according to your specific requirements.