We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f59251 + f1c1883 commit b80b05eCopy full SHA for b80b05e
src/extensions/scratch3_text2speech/index.js
@@ -78,6 +78,7 @@ const FEMALE_GIANT_RATE = 0.79; // -4 semitones
78
/**
79
* Language ids. The value for each language id is a valid Scratch locale.
80
*/
81
+const ARABIC_ID = 'ar';
82
const CHINESE_ID = 'zh-cn';
83
const DANISH_ID = 'da';
84
const DUTCH_ID = 'nl';
@@ -211,6 +212,12 @@ class Scratch3Text2SpeechBlocks {
211
212
213
get LANGUAGE_INFO () {
214
return {
215
+ [ARABIC_ID]: {
216
+ name: 'Arabic',
217
+ locales: ['ar'],
218
+ speechSynthLocale: 'arb',
219
+ singleGender: true
220
+ },
221
[CHINESE_ID]: {
222
name: 'Chinese (Mandarin)',
223
locales: ['zh-cn', 'zh-tw'],
0 commit comments