dlutton / flutter_tts

Flutter Text to Speech package
MIT License
599 stars 249 forks source link

synthesizeToFile is only extracts file in English #468

Open alberlevi98 opened 6 months ago

alberlevi98 commented 6 months ago

synthesizeToFile is only extracts file in English although I am setting language before that action.

await flutterTts!.setVoice({"name": "Karen", "locale": "tr-TR"});
await flutterTts!.setLanguage('tr-TR');
int result = await flutterTts!.synthesizeToFile(text, Platform.isAndroid ? filePath : filePathAlt);

voice record is with voice of English accent

dlutton commented 5 months ago

@alberlevi98 is this occurring in Android, iOS or both?