Is your README.txt up to date ?
from python_translators.translators.google_translator import GoogleTranslator
gt = GoogleTranslator(source_language='nl', target_language='en', key='AIzaSyA4MtvBIINuBpp-NwgNnsNuzWWjTxH35So')
gt.ca_translate('patate')
Which results in the error:
AttributeError Traceback (most recent call last)
<ipython-input-139-8fd1b838fc42> in <module>
1 gt = GoogleTranslator(source_language='nl', target_language='en', key='AIzaSyA4MtvBIINuBpp-NwgNnsNuzWWjTxH35So')
----> 2 gt.ca_translate('patate')
AttributeError: 'GoogleTranslator' object has no attribute 'ca_translate'
I have also tried to do as in your tests, using the Queries Objects passed in the Google_translate_factory Objects. Why isn't it working like that in in your package? Your test doesn't seem to test the function you displayed in the README.
Is your README.txt up to date ?
Which results in the error:
I have also tried to do as in your tests, using the Queries Objects passed in the Google_translate_factory Objects. Why isn't it working like that in in your package? Your test doesn't seem to test the function you displayed in the README.