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. 15009
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 4600
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 23082
TranslationParent.jsm The list of translation engines and their attributions. 12752
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. 11722