Skip to content

This plugin helps you to quickly underline word translations and insert word cards in your notes.And,you can also save the translation engine's pronunciation files to your vault, and you can also record your own pronunciation if you want.

License

Notifications You must be signed in to change notification settings

grover572/obsidian-Dictionary-translator

Repository files navigation

Obsidian-Dictionary-translator

中文文档

What Can I Do for You?

This is a simple plugin designed to help you expand your knowledge base while also quickly translating unfamiliar words or sentences and generating flashcards that can be plugged into your notebook. In addition, you can also save the translation engine's pronunciation files to your vault, and you can also record your own pronunciation if you want.

How to Use

  1. Configure the Translation Engine setting.png
  2. Right-click on words for translation (You can record your own pronunciation) translator.gif

Supported Translation Engines

  • Youdao Translation
  • Google Translate
  • Microsoft Translator

Custom Translation Engine

  1. Create a Custom Strategy Class: Implement the abstract class TranslationStrategy.
  2. Add your custom strategy class to TranslateEngines:
    1. Make a request to your custom translation engine.
    2. Parse the response and encapsulate it as a TranslateResponse type response.
  3. Add a unique configuration item for your translation engine in setting.ts.

This guide provides a clear and concise explanation of how to utilize the plugin for translating and learning purposes. By following these steps, you can easily integrate a translation engine into your workflow, enhancing your ability to understand and retain new information.

About

This plugin helps you to quickly underline word translations and insert word cards in your notes.And,you can also save the translation engine's pronunciation files to your vault, and you can also record your own pronunciation if you want.

Topics

Resources

License

Stars

Watchers

Forks