Deepl Translator (EN-CN)
-
{ "dictName": "Deepl Translator", "windowUrl": "https://www.deepl.com/en/translator#en/zh-hans/", "inputSelector": "#textareasContainer div[contenteditable]", "translationPrompt": "<word>" }
-
Thank you for the work. I edited it a bit to quote the
css
prop to make the json correct.Check it out.
-
@river Thank you for helping me correct the mistakes. This is my first time trying this kind of work, and I find it both novel and interesting.
-
Congrats, now you are a programmer!
Keep learning, the world is your oyster. -
@xiaomren
Oops, you added an extra}
after<word>
. Just a minor mistake, I fixed it. No worry -
@river I see. I keep this symbol because I've noticed DeepL translations are sometimes incomplete. For instance, when I feed it two paragraphs, it might only translate the first couple of sentences in the first paragraph, leaving the rest untouched. But after adding this symbol, I get a full translation. The only issue is that a "}" appears at the end of each translated text, which I don't quite understand. It's a temporary workaround, I suppose.
-
@xiaomren Aha, that's interesting. Apologize for the change, didn't know it's a workaround. Thanks for the explanation and effort. I reverted it back then.
-
@river These changes do offer some improvements. However, upon closer inspection, there are still some issues. While the translation is better than running it directly on the official website, there are still some missing sentences.
-
How about now? I changed it to a dynamic dict. Seems it's more accurate now.
-
@river After you modified the code, it runs perfectly. Thank you!
Trends
Dictionariez is an open-source tool that assists you in language learning; it supports multiple languages and offers a diverse collection of dictionaries.
Translate texts, images, and audio to 100+ languages instantly. Use TextPixie’s AI translator for fast, accurate, and contextually appropriate translations.
Improve your team's collaboration and performance with retrospective meetings! Retro meetings promote openness, using engaging formats and setting clear agendas. The team assess their way of working and decides how to adjust it for the better. The Retros log is a practical toolkit for teams committed to their continuous improvement. With a defined structure, you can log the details about each meetings and the agreements. It includes an extensive step-by-step guide with recommendations, and links to icebreakers and more retro formats!