github.com/mtenders/emacs-leo ↗
Emacs interface for dict.leo.org
Open this visualization on its own page →
Contributors
2
Lines of Code
12
From
2020-10-21
To
2020-11-22
About mtenders/emacs-leo
emacs-leo is an Emacs package that provides a direct interface to the Leo.de online dictionary, allowing users to translate words between German and eight other languages (English, Spanish, French, Italian, Chinese, Portuguese, Russian, and Polish) without leaving their editor. The package offers the command `leo-translate-word`, which intelligently uses the word under the cursor, selected region, or user input for translation queries.
The results display is well-organized, grouping translations by part of speech and providing additional linguistic information such as usage notes, case markers, and language variants. From within the results buffer, users can click on words to search for them, navigate between parts of speech, access conjugation and inflection tables, and jump to related resources like forum discussions, Duden.de entries, Linguee.de, or the dictcc package. The package also displays search suggestions when no direct matches are found, allowing users to refine their queries interactively.
The package is distributed through MELPA and has been tested primarily with English-German and French-German language pairs, though other language combinations are supported with varying degrees of refinement. It integrates well with Emacs' standard workflows and includes useful features like keyboard shortcuts for quick searches, history navigation through standard Emacs mechanisms, and the ability to open results in an external browser when preferred.