diff --git a/src/extensions/scratch3_text2speech/index.js b/src/extensions/scratch3_text2speech/index.js index e306984f..305eb2ac 100644 --- a/src/extensions/scratch3_text2speech/index.js +++ b/src/extensions/scratch3_text2speech/index.js @@ -594,7 +594,11 @@ class Scratch3Text2SpeechBlocks { } /** - * Get the menu of languages for the "set language" block. + * Get the localized menu of languages for the "set language" block. + * For each language: + * if there is a custom translated spoken language name, use that; + * otherwise use the translation in the languageNames menuMap; + * otherwise fall back to the untranslated name in LANGUAGE_INFO. * @return {array} the text and value for each menu item. */ getLanguageMenu () {