anki-plugins icon indicating copy to clipboard operation
anki-plugins copied to clipboard

Diacritics in Fill the Blanks

Open DrN8r opened this issue 10 months ago • 3 comments

Hello Ricardo, i'm noob in coding and couldn't find a solution to this. The romanian language uses this diacritics (ș, ț, â, ă, î) in its alphabet which are very common in words and it would be very usefull to ignore them when typing the answer. Setting the option in config "feedback-ignore-accents": true didn't work with these characters. I also searched in the add on files in order to find something to modify, but it's over my head. If you ever have the time to take a look into this matter it will help me a lot with my work. Thank you !

DrN8r avatar Sep 01 '23 08:09 DrN8r

Hey @DrN8r !

Wasn't it working for you? I just tested those chars that you mentioned, and it seems to work fine.

Just a detail: when you change the parameters for the add-on, you need to restart Anki to take effect

ssricardo avatar Nov 24 '23 16:11 ssricardo

What i mean is that when i type in the answer without these chars the feedback shows incorrect answer (red).....it doesn't ignore them.

For example....the word in blank is ,, știință "... i want the feedback to say correct (green) if i type in both [ stiinta ] and [ știință ].

DrN8r avatar Dec 03 '23 14:12 DrN8r

I tried other chars like é and ù, from french and i have the same problem...feedback is red if i type in e and u. Ignore accents is set on true.

DrN8r avatar Jan 29 '24 18:01 DrN8r