Change a key input on Mac foreign language keyboard?
I have a new Ukrainian-English magic keyboard (not silicon) from Apple that I'm using with a 2019 iMac with the latest version of Sonoma. When I choose the Ukrainian keyboard input with system settings, the "і" and the "и" keys are reversed compared to the key symbols printed on the keyboard. Any way to fix this, hopefully without using Terminal app? Obviously, I can't change the printed symbol on the keyboard. I want to change the iMac settings so the text input matches the keyboard. Thanks in advance.
iMac 27″, macOS 14.4