Currently selected keyboard layout is ignored

after running setxkbmap -option kpdl:comma i have no ability to switch keyboard layout (I mean I can switch but the other layout is being ignored)
for clarification I have 2 keyboard layouts ukraininan and english( australian) and after running setxkbmap -option kpdl:comma I cant type anything in ukrainian(instead of ukrainian letters it spitout english letters) what happened how should I revert so to be able to use both ukrainian and english.

and I guess I just should have modified usr/share/X11/xkb/symbols/au instead but it is too late

Your configuration is likely incomplete. From what I’ve read the change is not persistent by default, restart your session.

Also, is setxkbmap necessary for switching the layout when you have the setting in a Desktop Environment?

true after restarting pc I am able to use Ukrainian layout as well

I wanted to replace . with , by that change cause it was . on the numpad instead of ,
and yeah editing /usr/share/X11/xkb/symbols/au (for australian keyboard layout )
was better way to do so