Google Chrome extension internationalization, switch locale
I just implemented the internationalization (i18n) feature of google chrome in my extension. I have languages de
and en
. I na开发者_开发技巧med de
as default in the manifest file:
"default_locale": "de"
No I want to test if en
works but
"default_locale": "en"
has no effect on the language, it stays german. Any ideas?
It is still German because your browser locale is German. Internalization API has detailed instructions on how to switch your locale for testing (scroll to the middle of the page).
精彩评论