diff --git a/src/extensions/scratch3_text2speech/index.js b/src/extensions/scratch3_text2speech/index.js
index <HASH>..<HASH> 100644
--- a/src/extensions/scratch3_text2speech/index.js
+++ b/src/extensions/scratch3_text2speech/index.js
@@ -609,8 +609,9 @@ class Scratch3Text2SpeechBlocks {
         let nameArray = languageNames.menuMap[editorLanguage];
         if (nameArray) {
             // Also get any localized names of spoken languages
-            const spokenNameArray = languageNames.spokenLanguages[editorLanguage];
-            if (spokenNameArray) {
+            let spokenNameArray = [];
+            if (languageNames.spokenLanguages) {
+                spokenNameArray = languageNames.spokenLanguages[editorLanguage];
                 nameArray = nameArray.concat(spokenNameArray);
             }
             // Create a map of language code to localized name
Check for spokenLanguages object