Installation
pip install translate
code
from translate import Translator
translator= Translator(to_lang="Hindi")
translation = translator.translate("Follow code_snail")
print(translation)
Between Any Two Languages
from translate import Translator
# Between Any Two Languages
translator= Translator(from_lang="hindi",to_lang="english")
translation = translator.translate("@code_snail का अनुसरण करें")
print(translation)
Like, Follow, Comment and Code :)
Top comments (0)