Activer la traduction des pages web : valeur de Registre TranslateEnabledUtilisateurHKCU\Software\Policies\Mozilla\Firefox

ID de stratégie
TranslateEnabled
Étendue
Configuration ordinateur, configuration utilisateur
Pris en charge sur
Firefox 126 ou supérieur
Source
Mozilla Firefox Policy Templates (version 8.3)
Catégorie
Mozilla › Firefox

Registre

TranslateEnabled

REG_DWORDUtilisateurOrdinateur
…\Software\Policies\Mozilla\FirefoxHKCU\Software\Policies\Mozilla\Firefox Clé actuelle
HKLM\Software\Policies\Mozilla\Firefox
Valeur si activée
1
Valeur si désactivée
0
Appliquer avec .reg · CMD · PowerShell
UtilisateurParamètre par compte
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox]

; Options (en utiliser une seule)
; Activé
"TranslateEnabled"=dword:00000001
; Désactivé
"TranslateEnabled"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Activé
reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "TranslateEnabled" /t REG_DWORD /d 1 /f
:: Désactivé
reg add "HKCU\Software\Policies\Mozilla\Firefox" /v "TranslateEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Force | Out-Null

# Options (en utiliser une seule)
# Activé
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'TranslateEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'TranslateEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
OrdinateurParamètre valable pour tout l’ordinateur
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox]

; Options (en utiliser une seule)
; Activé
"TranslateEnabled"=dword:00000001
; Désactivé
"TranslateEnabled"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Activé
reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "TranslateEnabled" /t REG_DWORD /d 1 /f
:: Désactivé
reg add "HKLM\Software\Policies\Mozilla\Firefox" /v "TranslateEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Force | Out-Null

# Options (en utiliser une seule)
# Activé
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'TranslateEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'TranslateEnabled' -PropertyType DWord -Value 0 -Force | Out-Null