Open ali1hammoud opened 1 year ago
After updating to 5.7.6 I got these errors:
KeyError: 'data'
During handling of the above exception, another exception occurred:
TranslatorError Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/translators/server.py](https://localhost:8080/#) in _wrapper(*args, **kwargs)
279 raise_tips2_url = 'https://github.com/UlionTse/translators#supported-translation-services'
280 raise_tips2 = f'Please read for details: Status of Translator on this webpage({raise_tips2_url}).'
--> 281 raise TranslatorError(f'{raise_tips1} {raise_tips2}')
282 return _wrapper
283
TranslatorError: The function iflytek() has been not certified yet. Please read for details: Status of Translator on this webpage(https://github.com/UlionTse/translators#supported-translation-services).
KeyError: 'data'
During handling of the above exception, another exception occurred:
TranslatorError Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/translators/server.py](https://localhost:8080/#) in _wrapper(*args, **kwargs)
279 raise_tips2_url = 'https://github.com/UlionTse/translators#supported-translation-services'
280 raise_tips2 = f'Please read for details: Status of Translator on this webpage({raise_tips2_url}).'
--> 281 raise TranslatorError(f'{raise_tips1} {raise_tips2}')
282 return _wrapper
283
TranslatorError: The function niutrans() has been not certified yet. Please read for details: Status of Translator on this webpage(https://github.com/UlionTse/translators#supported-translation-services).
now it is clear that: The function iflytek() has been not certified yet The function niutrans() has been not certified yet
Hello friend! Although these functions are implemented, they have not passed the test due to various reasons, and they are in an unavailable status. This status is also marked on the README page.
Debug Tips
What happened?
I wrote this code:
ts.translate_text('hello, how are you?', translator='iflytek', from_language='en', to_language='ar')
ts.translate_text('hello, how are you?', translator='niutrans', from_language='en', to_language='ar')
APP Version
5.7.1
Python Version
3.10
Runtime Environment
colab google
Country/Region
Russia
Relevant log output
Code of Conduct