terryyin / translate-python

Online translation as a Python module & command line tool. No key, no authentication needed.
MIT License
724 stars 155 forks source link

translation cut off #72

Open SooLee opened 3 years ago

SooLee commented 3 years ago

Hi, thank you for developing translate. I tried it and it's very easy to install and use.

import translate
tr = translate.Translator(to_lang='fr')
tr.translate('I am happy that you are a boy.')
'Je suis content que tu sois'

The actual translation should be (and is on the Web version):

'Je suis content que tu sois un garçon.'

I wonder if there is any length limit or an option to get the full sentence. Thank you!