translate-shell icon indicating copy to clipboard operation
translate-shell copied to clipboard

Bing engine not working

Open OrionRandD opened this issue 4 years ago • 3 comments

I get these engines errors

Engines errors

-> user@thunder 09:56:27 ~ $ trans -e yandex en:pt love -b [ERROR] Oops! Something went wrong and I can't translate it for you :( -> user@thunder 09:57:02 ~ $ trans -e bing en:pt love -b [ERROR] gives no output :( -> user@thunder 09:57:36 ~ $ trans -e spell en:pt love -b [ERROR] gives no translation - yields "love" itself :( -> user@thunder 09:57:45 ~ $ trans -e hunspell en:pt love -b [ERROR] No dictionary for language: en -> user@thunder 09:57:57 ~ $ trans -e apertium en:pt love -b -> user@thunder 09:58:08 ~ $ trans -e yandex en:pt love -b [ERROR] Oops! Something went wrong and I can't translate it for you :(

Is it only me?

OrionRandD avatar Jun 29 '21 13:06 OrionRandD

Engine support for Yandex and Bing is known to be broken at the moment.

spell and aspell are for spell checking, not for translation. If it yields the word itself with no errors then it is correct. Try misspelling it as "lov" and see if it works.

As for hunspell, you need to install the supporting dictionary package. This should be done by your system package manager. (currently specifying the language code en explicitly does not work though, for some reason)

soimort avatar Jun 29 '21 14:06 soimort

I seem to be having this problem as well. I get no translated output whatever I do.

E.g.

chris$ trans -e google fr:en "Bonjour monsieur"

chris$

chrisisbd avatar Sep 18 '21 10:09 chrisisbd

I installed the package hunspell and I used:

trans aborted -e hunspell :br aborted[abortes|aborte|abortei]

Silvio-C-Amaral avatar Sep 18 '21 12:09 Silvio-C-Amaral