I have user Text to speech plugin
for me local language is not supporting
when clicking the speech button it converting spainsh iwant normal english and local language
@Prasanth S : Please provide more information on the plugin you are referring to. Someone in the forum should be able to help you if more information is available.
Text-to-Speech Plugin - Overview (O11)
As I can see you are referrring to this forge component. https://www.outsystems.com/forge/component-overview/10246/text-to-speech-plugin-o11
One possibility is having wrong Locale as mentioned by @Saugat Biswas . Please debug and see what the value is set in Client.Language
Also there is a method TextToSpeechWithOptions under Web folder. Please see if that makes a difference.
btw which language you trying out ? May be you could share some sample text and intended language.
I am trying it out at my end I can see ta_IN (Tamil), hi-IN (Hindi), English etc.. works without an issue.
SIR i am tryed for mobile app is not working
@Prasanth S : Here is a sample application https://siya.outsystemscloud.com/DemoTTS/ where you have option to enter the text and locale and test it out. Please try this on the mobile device and see it is working properly.
Hi @Prasanth S ,
The root cause is almost always one of two things.
The Locale input parameter is either not being set or is hardcoded to es (Spanish). The TTS plugin does not auto-detect the app language, you have to explicitly tell it which locale to speak in on every call to TextToSpeech.
In ODC Studio, find where you call the TextToSpeech action. It has these key inputs:
InputWhat to set
If Locale is blank, the plugin defaults to whatever the device OS language is, which could be Spanish if the device is set to Spanish. If it's hardcoded to "es" or "es-ES", it will always speak Spanish.
Use standard BCP-47 locale codes. Common ones:
LanguageLocale code
Hope this helps.
Cheers,
Saugat
Hi Prasanth S,
I hope the explanation below helps clarify this for you.
Thanks,Thangapandi