I can propose ugly fix.
Create map of keyboard in memory with english layout and remap it to current layout when it switched. And when pressed shortcut, just change pressed keys by map.
I can propose ugly fix.
Create map of keyboard in memory with english layout and remap it to current layout when it switched. And when pressed shortcut, just change pressed keys by map.