This script translates text from a specified language to another language using the Google Translate API. It initializes a translator object from the googletrans library and translates the input text to the desired destination language.
Install googletrans library:
pip install googletrans==4.0.0-rc1
Modify the text you want to translate in the translator.translate() function.
Specify the destination language using the dest parameter in the translator.translate() function.