Shorcut crete on qwerty but I am in azerty

I’m trying for the first time the keyboard shortcuts (on ipad), I noticed a small error on the fact that (I’ll try to be clear) when we want to change the undo for example ⌘z by shiftz it registers shiftw (it works all the same but it’s as if it interprets all of a sudden my keyboard in qwerty while it’s well and truly azerty. here is nothing crazy nor transandant as an error, but if we configure a lot of shortcuts it can be boring in the long run