Language Keyboard Auto-switch add-on fixed to work on newer Anki versions that use Qt 6.
“An add-on that lets you automatically change languages/keyboard layouts in depending on your open/current deck. The keyboard layouts are chosen in the settings menu under tools for each deck that a particular keyboard layout is wanted for. Supports Windows (uses Windows apis).”
Small change was made so it only works when reviewing cause it kept changing keyboard when editing card types. Remove the following lines from addon_init_.py if this is not desired.
if kind != “reviewQuestion” and kind != “reviewAnswer”: return note