This Python script provides a simple interface to Google Translate API, allowing you to translate text between different languages.
- Python 3.x
- requests library
-
Clone the repository:
git clone https://github.com/zubairjammu786/googletranslateapi.git
-
Navigate to the project directory:
cd googletranslateapi
-
Install the required dependencies:
pip install requests
-
Run the script:
python translate.py
-
Follow the on-screen instructions to enter the source language, target language, and text to translate.
-
Enter language prefixes such as en for English, ur for Urdu not full name.
This is not an official API or script from Google. We suggest you to buy it from Google Cloud.