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

Languages that the wiki says have dictionaries don't have dictionaries

Open damaru2 opened this issue 7 years ago • 6 comments

In the wiki https://github.com/soimort/translate-shell/wiki/Languages it says that languages like for example german have a dictionary, but after some tests I only saw that the dictionary feature is working in English, French and Spanish

damaru2 avatar Oct 29 '17 00:10 damaru2

How did you test? In the interactive shell?

I have managed to get translations in the interactive shell, but not outside.

eraserpencil avatar Dec 19 '17 03:12 eraserpencil

@eraserpencil The wiki says that German for instance has dictionary. But

trans -d de:de tabelle

outputs

tabelle

tabelle

However for English, Spanish and French every word outputs a list with definitions, as expected.

I get the same in the interactive shell. No definitions are output. The command

Translate Shell
(:q to quit)
Deutsch> tabelle
tabelle

tabelle

Deutsch> 

damaru2 avatar Mar 15 '18 01:03 damaru2

Just to clarify, in the Wiki, Has dictionary = Has at least a "See also" part for some common words.

$ trans de:de Welt
Welt

See also
    nicht von dieser Welt, zur Welt bringen, zur Welt kommen, am Arsch der Welt

Detailed explanation of words is most likely to be found in English, French, Spanish, Portuguese and Russian. It seems German merely has some random "See also" stuff. You may verify this through https://translate.google.com.

soimort avatar Mar 15 '18 02:03 soimort

Ok, thank you. I think it is a bit ambiguous, since for English, Spanish and French it is an actual dictionary, it gives the meaning of the words. Maybe this should be in the wiki as a separated column. Btw, since you work with this a lot, do you know if any other translator gives definitions for other languages / do you know of the existence of offline dictionaries?

damaru2 avatar Mar 15 '18 10:03 damaru2

Specifically for German->English, DeepL does have a dictionary (trans doesn't support retrieving its items yet). There are also bab.la, Linguee (which covered most major European languages; none of these is supported in trans though).

soimort avatar Mar 15 '18 12:03 soimort

I see. Thank you for your reply. I use your project as a part of mine but can only provide support for the languages I have a dictionary for. I will keep an eye on the evolution of translate shell to see if there are any updates regarding dictionaries. Your project is awesome, thank you!

damaru2 avatar Mar 15 '18 12:03 damaru2