Change back to classic language switch UI in mac Sonoma
To use classic language switch UI
defaults write kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled 0
To use new language switch UI
defaults write kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled 1