The solution to the problem is to make sure that the correct language is set as the default input language in the Windows settings. To do this, open the Control Panel, go to the Language settings, and select the correct language from the list. After that, restart the computer and the keyboard layout should work properly.