TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Text editor with inline English-German dictionary

35 pointsby ichversteheover 2 years ago
Hi<p>When you are learning a new language, you need to practice different skills: reading, listening, speaking, writing. I find writing to be the hardest activity, not least because I have to look up words in the dictionary all the time, and that is a frustrating context switch.<p>Here is an experimental CodeMirror-based editor, that lets you look up translations inline. Type @ followed by the English word, and get a list of possible translations, and select the translation to apply it.<p>Online demo: <a href="https:&#x2F;&#x2F;foreign-dispatch-autocomplete.netlify.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;foreign-dispatch-autocomplete.netlify.app&#x2F;</a>

8 comments

97-109-107over 2 years ago
This is very clever, I haven&#x27;t seen such modal conventions for translation&#x2F;substitution.<p>I think it&#x27;s quite original to have the starting point of &quot;I&#x27;m almost good enough to write on my own&quot; in stead of starting in the usual spot of full-auto translation pipe dream.<p>I occasionally use deepl to write messages in languages which I&#x27;m rusty, but the-back-and-forth between editing my final output and selecting suggestions in not smooth.
divyenduzover 2 years ago
This is very nice, I wrote something very similar for telegram, I don&#x27;t maintain it anymore, love to see tools like this<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;divyenduz&#x2F;languagelearners" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;divyenduz&#x2F;languagelearners</a> - <a href="https:&#x2F;&#x2F;languagelearners.vercel.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;languagelearners.vercel.app&#x2F;</a>
juujianover 2 years ago
Love that. I assume for learners an alternative mode would be great where it shows you the word but you still have to type it, just to build muscle memory.
smcinover 2 years ago
Neat! Two issues I found:<p>1) if I type @being I get zero options, even though it&#x27;s in the dict <a href="https:&#x2F;&#x2F;www.wikdict.com&#x2F;de-en&#x2F;being" rel="nofollow">https:&#x2F;&#x2F;www.wikdict.com&#x2F;de-en&#x2F;being</a> . I only get options for expanding @be<p>2) I can&#x27;t expand @be&#x2F;being into a noun (&#x27;Beings surrounded our ship&#x27;), only into a verb&#x2F;gerund (&#x27;Being John Malkovich&#x27;)
评论 #33665647 未加载
gumbyover 2 years ago
Makes me wonder if you could reasonably write an LSP server for text and then plug it into your editor for on-the-fly autocomplete, translations etc?
评论 #33670834 未加载
vacooomover 2 years ago
That&#x27;s a neat idea. Would love to have that as an Obsidian plugin!
wklmover 2 years ago
great stuff, would love to have it as an outlook plugin
agolioover 2 years ago
Super cool project!! I can really imagine this being helpful,<p>I love alternative language learning tools, also keen on for e.g., Language Learning with Netflix which lets you see dual subtitles while watching netflix.<p>I will drop my own (very naive, possibly incorrect) side project that I made while learning German myself, always happy for feedback! agol.io&#x2F;trainer
评论 #33663454 未加载
评论 #33665473 未加载