Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
7 results across 6 corpora for detectorism.
Encyclopedia 0
This corpus is unavailable: timeout
Dictionary 1
detectorism
The hobby of using a metal detector to search for buried coins, etc
Papers 0
This corpus is unavailable: timeout
Wikidata 0
This corpus is unavailable: timeout
Developer library 6
i18n
Functions to internationalize your extension. You can use these APIs to get localized strings from locale files packaged with your extension, find out the browser's current language, and find out the value of its [Accept-Language header](/docs/Web/HTTP/Guides/Content_negotiation#the_accept-language_header). See the [Internationalization](/docs/Mozilla/Add-ons/WebExtensions/Internationalization) page for a guide on u
i18n.detectLanguage()
Detects the language of the provided text using the [Compact Language Detector](https://github.com/CLD2Owners/cld2) (CLD). This is an asynchronous function that returns a [`Promise`](/docs/Web/JavaScript/Reference/Global_Objects/Promise). See the [Internationalization](/docs/Mozilla/Add-ons/WebExtensions/Internationalization) page for a guide on using this function. ## Syntax ```js-nolint let detectingLanguages =
tabs.detectLanguage()
Detects the primary language of the content in a tab, using the [Compact Language Detector](https://github.com/CLD2Owners/cld2) (CLD). This is an asynchronous function that returns a [`Promise`](/docs/Web/JavaScript/Reference/Global_Objects/Promise). ## Syntax ```js-nolint let detecting = browser.tabs.detectLanguage( tabId, // optional integer callback // optional function ) ```
Translator
Translator and Language Detector APIs The **`Translator`** interface of the Translator and Language Detector APIs contains all the associated translation functionality, including checking AI model availability, creating a new `Translator` instance, using it to create a translation, and more. ## Instance properties - inputQuota - : The input quota available to the browser for generating translations. - source
Translator: availability() static method
Translator and Language Detector APIs The **`availability()`** static method of the Translator interface returns an enumerated value that indicates the availability of the AI model for the given `Translator` configuration. ## Syntax ```js-nolint Translator.availability(options) ``` ### Parameters - `options` - : An object specifying configuration options for the `Translator`. Possible values include: - `so
Translator: create() static method
Translator and Language Detector APIs The **`create()`** static method of the Translator interface creates a new `Translator` instance that can be used to translate text. > [!NOTE] > The `create()` method requires [transient activation](/docs/Glossary/Transient_activation), that is, it must be invoked in response to a user action such as a mouse click or button press. ## Syntax ```js-nolint Translator.create(opti