'Change language for chrome indentity popup

I am using the chrome.identity API to authenticate users in my application. The problem is that the login popup always appears in English. There is an option at the bottom of that screen to change the language, but it would be much better if when calling the chrome.identity.getAuthToken() method there was a parameter to force the language, but I haven't found this option in the documentation (https://developer.chrome.com/docs/extensions/reference/identity). Is there any other alternative to force the language? I also tried to change the browser language but the popup still shows in English.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source