20
Views
9
Comments
Text to speech plugin
Question
Application Type
Mobile

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

2019-01-07 16-04-16
Siya
 
MVP

@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.

UserImage.jpg
Prasanth S

Text-to-Speech Plugin - Overview (O11)

2019-01-07 16-04-16
Siya
 
MVP

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.

2019-01-07 16-04-16
Siya
 
MVP

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.  

UserImage.jpg
Prasanth S

SIR 
i am tryed for mobile app is not working




2019-01-07 16-04-16
Siya
 
MVP

@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.


2026-03-20 01-28-51
Saugat Biswas

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

TextThe text to be spoken
LocaleThis is your problem — the language/accent code
RateSpeed of speech (optional)

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

English (US)en-US
English (UK)en-GB
English (Australia)en-AU
Spanishes-ES
Hindihi-IN
Bengalibn-IN

Hope this helps.

Cheers,

Saugat

UserImage.jpg
Prasanth S

2025-02-11 07-08-02
Thangapandi

Hi Prasanth S,

I hope the explanation below helps clarify this for you.


Thanks,
Thangapandi

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.