javdejong / japanese-examples

Anki2 Add-On that shows Japanese sentences
10 stars 8 forks source link

Japanese example sentences on the front side, English translations on the back #12

Open MAndrewR opened 3 years ago

MAndrewR commented 3 years ago

I understand you've added support so that we can have just the Japanese Example Sentences on one side and then the English example sentences on the other, so that we only see the English translation after having had the chance to try and recall the meaning on our own first. I have no experience with code/programming so when I opened the "edc285e" link where this support is supposedly added, i'm not sure how to turn all of that code into actually separating the example sentences on Anki...

I'm sorry, can you please explain how to implement this change?

Thank you so much, this add-on has the chance to seriously help me out, if I can just figure this out!

MAndrewR commented 3 years ago

Edit: I've figured it out and I'm not extremely satisfied with this add-on! Thank you so much, seriously. It was relatively simple but I feel like it should be explained in the instructions section better!

1) In the "fields" of your note type, add the field "Examples" as described in the instructions, but also add the field "JapaneseExample". 2) Under "cards" of your note type, on the front template add "{{JapaneseExample}}. On the back template, add "{{Examples}}". I had to view the files config.json and japanese_examples.py to be able to find out the exact way to name the fields. Please make this more user friendly and easily explained so anyone will be able to do this!