1. A switch button that can change
the language of the extension?
a) If you use `chrome.i18n`, I have
proposed an API for switching the extension language independently. But I don't know when browsers will implement this feature.
b) There are some workaround ways to change the extension language. For example, `fetch` the language resources by yourself.
2. By the way, let me explain two other misleading concepts.
a) Browser UI language
This is the browser UI itself language, not websites' languages.
You can get it by `chrome.i18n.getUILanguage()`.
But you can't change it by extension api. You can change it through the operating system's language setting or through Chrome command-line options.
b) Website language
chrome://settings/languages is used for website's preferred language, i.e. HTTP Accept-Language header.
You can add one or more languages here. But it doesn't change the browser UI language.
You can get it by `navigator.languages` or `chrome.i18n.getAcceptLanguages()`.
But you can't change it by extension api.
Note: Firefox's language setting (about:preferences -> language) combines both Browser UI language and Website language settings. So you can change both UI language and Website languages.