Name Description Size
BingTranslator.jsm Translates a webpage using Bing's Translation API. @param translationDocument The TranslationDocument object that represents the webpage to be translated @param sourceLanguage The source language of the document @param targetLanguage The target language for the translation @returns {Promise} A promise that will resolve when the translation task is finished. 14992
content
GoogleTranslator.jsm Translates a webpage using Google's Translation API. @param translationDocument The TranslationDocument object that represents the webpage to be translated @param sourceLanguage The source language of the document @param targetLanguage The target language for the translation @returns {Promise} A promise that will resolve when the translation task is finished. 10100
moz.build 549
test
TranslationChild.jsm 4592
TranslationDocument.jsm This class represents a document that is being translated, and it is responsible for parsing the document, generating the data structures translation (the list of translation items and roots), and managing the original and translated texts on the translation items. @param document The document to be translated 23065
TranslationParent.jsm The list of translation engines and their attributions. 14275
YandexTranslator.jsm Translates a webpage using Yandex's Translation API. @param translationDocument The TranslationDocument object that represents the webpage to be translated @param sourceLanguage The source language of the document @param targetLanguage The target language for the translation @returns {Promise} A promise that will resolve when the translation task is finished. 11705