Add Hindi language to Text to Speech

This commit is contained in:
Eric Rosenbaum 2019-03-21 16:06:42 -04:00
parent f33b15affa
commit b3ef49a8bb

View file

@ -84,6 +84,7 @@ const DUTCH_ID = 'nl';
const ENGLISH_ID = 'en';
const FRENCH_ID = 'fr';
const GERMAN_ID = 'de';
const HINDI_ID = 'hi';
const ICELANDIC_ID = 'is';
const ITALIAN_ID = 'it';
const JAPANESE_ID = 'ja';
@ -241,6 +242,12 @@ class Scratch3Text2SpeechBlocks {
locales: ['de'],
speechSynthLocale: 'de-DE'
},
[HINDI_ID]: {
name: 'Hindi',
locales: ['hi'],
speechSynthLocale: 'hi-IN',
singleGender: true
},
[ICELANDIC_ID]: {
name: 'Icelandic',
locales: ['is'],