I fixed it, figured out how to manually change the keyboard without installing. Browsed the SH5 directory and saw a keyboard mapping folder with two obvious AZERTY and QWERTY folders. I've just copied and overwrited the original files with the ones in the AZERTY folder and the controls are AZERTY now
The folder in question:
C:\Program Files (x86)\Steam\steamapps\common\silent hunter 5\data\LngGameData\KeyboardMapping