Google Chrome extension internationalization, switch localization

I just implemented the internationalization (i18n) of the google chrome function in my extension. I have languages deand en. I named dethe default in the manifest file:

"default_locale": "de"

No. I want to check if it works en, but

"default_locale": "en"

does not affect the language, it remains German. Any ideas?

+3
source share
1 answer

It is still German because your browser is German. The internalization API contains detailed instructions on how to switch your language for testing (scroll to the middle of the page).

+3
source

Source: https://habr.com/ru/post/1784923/


All Articles