diff --git a/plugins/system/accessibility/accessibility.php b/plugins/system/accessibility/accessibility.php index 4bf7f8d9ae..5d2f8b42d6 100644 --- a/plugins/system/accessibility/accessibility.php +++ b/plugins/system/accessibility/accessibility.php @@ -104,8 +104,10 @@ public function onBeforeCompileHead() 'enabled' => true, 'helpTitles' => true, ], - 'textToSpeechLang' => [$lang], - 'speechToTextLang' => [$lang], + 'language' => [ + 'textToSpeechLang' => $lang, + 'speechToTextLang' => $lang + ] ] );