himselfv / wakan

Japanese and Chinese learning tool with dictionary
36 stars 7 forks source link

Load and store Kanji groups from files #227

Open himselfv opened 10 years ago

himselfv commented 10 years ago

Original report by me.

I don't even know why it wasn't done that way from the start. There should be a directory ("My Documents\Wakan\Kanji groups" if standalone, "Wakan\Kanji groups" if portable) in which every file is treated as a list of kanji. Its name is taken for group name, it's contents for contents.

This is ways handier than current scheme where similar files are packed into wakan.usr because:

  1. The groups are stored in an open and simple format.
  2. You can edit them without Wakan! E.g. you can copypaste a list of kanji from Wikipedia\Kanji_by_type or whatever it's called, and just paste it in a text file, and Wakan would mark appropriate kanji with that name!
  3. You can backup/sync these files with Dropbox etc smartly, only those which were changed.
  4. You can take such file and send it to anyone without any export/import process in Wakan.

A conversion routine is to be written to convert existing wakan.usr's to this way.