You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: