How to create vocabulary trainer in Obsidian (how to combine plugins like Templater, Dictionary, WordNet Dictionary, Spaced Repetition?)

What I’m Trying to Do

I read a lot in foreign languages and want to improve my language skills using Obsidian. I aim to integrate the following steps into Obsidian:

  1. Look up word translations.
  2. Save the word and its translation in a new file.
  3. Use the Spaced Repetition plugin to learn the translations.

Things I Have Tried

For step 1, I tried the following plugins:

  • Dictionary

    • Advantages:
      • Step 2 (saving the word-translation in a new file) is integrated.
    • Disadvantages:
      • Requires extensive mouse use as there are no hotkeys for looking up a specific word in the text.
      • The template for creating new files is inflexible and inserts empty lines in the translation part, which breaks the syntax of the Spaced Repetition plugin (it doesn’t allow empty lines in flashcards).
  • WordNet Dictionary

    • Advantages:
      • Hotkeys are available to look up the word marked by the cursor.
      • No empty lines in the provided translation.
    • Disadvantages:
      • Step 2 (saving the word-translation in a new file) is not integrated.

To address the disadvantage of the WordNet Dictionary plugin, I think using the Templater plugin might be a solution. … - or do you have a better solution for that?

My Question about the Templater Plugin:

Is it possible to use a hotkey to trigger a Templater script on a marked word that does the following:

  1. Copy the marked word to the clipboard.
  2. Surround the marked word with [[ ]] to create a link to a new file (with the title set to the clipboard content).
  3. Open the new file.
  4. Write #flashcard in the first line.
  5. Write the clipboard content in the second line.
  6. Write ? in the third line (Spaced Repetition syntax for multi-line cards).
  7. Trigger the WordNet Dictionary to look up the clipboard content and insert the translation into the fourth line.

… another workflow to use the Spaced Repetition plugin for vocabulary trainging is described here:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.