donkuri / Kaishi

Kaishi 1.5k is a modern, modular Japanese Anki deck made for beginners who want to learn basic vocabulary.
409 stars 7 forks source link

Set text language to Japanese in card template #20

Closed Bobo1239 closed 6 months ago

Bobo1239 commented 6 months ago

I've noticed that on my phone AnkiDroid uses the wrong font variant for rendering the cards. (due to Han unification) This can be fixed by wrapping the front and back templates in a div which sets the language:

<div lang="ja">
...
</div>

Not sure if there are other/easier methods to fix this. Before/After:

donkuri commented 6 months ago

Interesting, I didn't know that. Will fix this in the next release. Thank you!

christopherball commented 6 months ago

@donkuri Side question - when issues like this are fixed and a new release is created, what's the recommended approach to cleanly "upgrade" our existing deck without losing review progress? The readme's "How to import Kaishi 1.5k on top of another deck" section seems tangentially related.

donkuri commented 6 months ago

@christopherball If you imported the .apkg file normally (i.e. not by modifying a Core deck or something) then you can simply reimport it, making sure that the option to update the cards are ticked (should be by default). Worst case scenario, you can start by backing up everything and even if it doesn't work, you can just undo the import (literally Ctrl+Z).