This script is a Telegram bot that translates text between multiple languages using the Google Translate API. The user can specify the source and target languages along with the text to be translated. For educational purposes only. Unauthorized or illegal use is strictly prohibite
Follow these steps to set up the project:
-
Update the system:
apt update && apt upgrade -y
-
Update Termux packages:
pkg update && pkg upgrade -y
-
Install Python and Git:
pkg install python
pkg install python3
pkg install git
-
Clone the repository:
git clone https://github.com/SCSEA/g-trans.git
-
Navigate to the project directory:
cd g-trans
-
Install required Python modules:
pip install -r requirements.txt
pip install pyTelegramBotAPI
pip install requests
pip install colorama
For Python3:
pip3 install pyTelegramBotAPI
pip3 install requests
pip3 install colorama
-
Run the script:
python google-trans.py
or use Python3:
python3 google-trans.py
Make sure to enter your Telegram Bot API Token in the script when you run