Is there a way to use chrome API to detect the language of the current content in the current tab?
Detecting the current tab language using Chrome extension?
2.6k views Asked by Max At
2
There are 2 answers
1
On
Yes: chrome.tabs.detectLanguage
. See http://code.google.com/chrome/extensions/tabs.html#method-detectLanguage.
Use the Chrome Tabs API to select the current tab, then get the language.
Sample usage: