Mochi
 

Importing cards into a template

Importing cards into a template

I have a super simple template I would like to use. It is the following:

<< English >>
---
<< Spanish >>
<< Audio >>

Which I am using for Spanish language learning. Here is the catch: this currently allows me to make new cards inside of Mochi that support this template. I have a large amount of .md flashcards currently in this format:

<< English >>
---
<< Spanish >>

Which I want to add audio to. I tried a raw import and then switching to the template and it did now work. Any advice?

Got a fix. Here's what worked for me:

  1. Set up your template first

Make a new deck, then create a template with:

  • name field (primary) - English
  • spanish field - Spanish text
  • audio field - set this as a Dynamic Field → Text to Speech, source = spanish, language = es
Template content: << name >>

<< spanish >> <<# audio >><< audio >>< audio >>

  1. Make a CSV

Just match the column headers to your field names: name,spanish to speak,hablar to be,ser

  1. Import the CSV into your deck

Mochi maps the columns automatically and the TTS generates audio for each card.

This post has been closed.