This is super neat for polyglots (of which I'm not one, yet) but one little thing: My partner immediately flagged that your demo (EN->HB) flips the cursor to be in the LTR position in the run rather than the RTL one.
The most minor of things, but I now can't unsee it.