Translate
Created by
MrSmiley01
Description:
This repl uses the Google Translate API to translate text from one language to another. The code allows the user to select the source language and the target language, and provides a list of available languages that the user can choose from. If the user does not specify the source language, the code detects the language automatically.
How to use:
- Run the code.
- Enter the text that you want to translate when prompted.
- If you know the source language, enter the language code
- when prompted. Otherwise, leave the prompt blank to detect the language automatically. 5.If you know the target language, enter the language code when prompted. Otherwise, leave the prompt blank to translate to English.
- The translated text will be displayed on the terminal.
Note: Right-to-left languages may appear reversed, but when pasted into a different application, they will appear correctly from right to left.
Programmed By Mr. Smiley