When you set your keyboard layout and Layout variable everything is ok
But if you change your keyboard layout again you may get an error since Layout variable dosen't match with your new keyboard layout to fix that all you need to do is to add this code to function XkbLayoutConfig, in order to remove the previous XkbVariant
# remove XkbVariant line from XORG_CONF
sed -i '/XkbVariant/d' $XORG_CONF
P.S. im updating full xkbconfigmanager script in order to add multiple language when im finish with that i will share full script till then hope this is helpfull