An issue with exporting flashcards to Anki

I need help with resolving an issue with exporting flashcards to Anki. After selecting the cards, I click on “select all … cards” and then on “Action” → “Export.” Then, at the bottom of the “export file” window, unfortunately, the TXT file doesn’t get saved. Instead, a new text window opens with all the cards in a continuous string. I can’t do anything with this file, and I can’t save it as a TXT file. I am using Readlang on a Mac.

It seems the behavior is browser specific. Using Chrome on macOS that button will download a file.

I’ve just tried using Safari and it behaves as you describe. In this case you can:

  1. Right click an empty part of the page (not on a word) and select “Save Page As…”:

  1. Name the file and be sure to include .txt at the end of your filename, leave Format on “Page Source”, and select the folder you’d like to save it in with the “Where” selector:

  1. Click “Save”

It should now save the data as a plain text file in the folder you specified.

2 Likes

Thank you for your response and for providing a solution! It worked! Indeed, I am using Safari :slight_smile: Now everything is working! Thanks again.

2 Likes

I tested this out and was able to import a few cards from Readlang into Anki using this method. So it does work, but I will be honest… I would prefer a more automatic way to do it. Many other apps use AnkiConnect to send data to Anki in real time whenever look ups are done. It is integrated into Migaku, Yomitan, ASBplayer as well as others. More info can be found here. https://ankiweb.net/shared/info/2055492159

I don’t know how hard it would be to set up for you as a developer but it seems to have a pretty established track record so it might be worth considering as it is very convenient as a user.

Also if it is possible to add the ChatGPT explanations that are generated when looking up words or phrases to the export that would be great. I would like to add them to an extra data field in Anki without needing to ask ChatGPT for it again when reviewing the card.

Thanks again for all of your hard work on Readlang and considering all of our requests.