Hello, I have the same issue in Xiaomi Mi 11 Lite, it says french (azerty) but it's stil qwerty when I type.
EDIT:
I managed to fix it, for some reason the layout of the physical keyboard depends on your virtual one.
If you are not using the default virtual keyboard, you need to find the...