Detect language change

I have some questions:

  1. Is there any way to call the plugin or make a request when the user changes language?
  2. How to change the interface language through the API ?

There is no API to change the language. It is either the default language setting, the automatic language detection or changes through the UI in settings.