suddenly can't change language in keyboard
Try disable all accessibility services. It may be a security measure to prevent malicious apps from changing keyboard without user interaction, since an accessibility services can automate the process without the user knowing.