Report or toggle Firefox full-page translation
browser_translationsReports and controls full-page translation state: check status, enable or disable the feature, list supported language pairs, and download language models.
Instructions
Report the full-page translation state and optionally enable the feature. MEASURED: the pref is browser.translations.enable (false by default in this build); the actor resource://gre/actors/TranslationsParent.sys.mjs exposes getIsTranslationsEngineSupported / getWebContentLanguages / isTranslationsEngineMocked. With a real engine the supported-language map is populated only after language packs are downloaded, so an empty map while isEngineSupported is true means "engine present, packs absent" rather than a broken feature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | status/enable/disable = pref; pairs = supported language pairs; download = fetch model files | |
| source | No | Source language for download (default en) | |
| target | No | Target language for download (default zh-Hans) |