# How to change speech to text and text to speech settings via variables?

**URL:** <https://forum.ideta.io/t/how-to-change-speech-to-text-and-text-to-speech-settings-via-variables/437>\
**Category:** I don't know where to post\
**Created:** [May 31, 2024, 4:23pm UTC](https://forum.ideta.io/t/how-to-change-speech-to-text-and-text-to-speech-settings-via-variables/437 "2024-05-31T16:23:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glen](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@Glen](https://forum.ideta.io/u/Glen)\
**Post date:** [May 31, 2024, 4:23pm UTC](https://forum.ideta.io/t/how-to-change-speech-to-text-and-text-to-speech-settings-via-variables/437/1 "2024-05-31T16:23:28Z")

</div>

In order to change speech to text and text to speech depending on the context, you can use the _speechLang_ and _textLang_ variables.

speechLang is for speech to text.

textLang is for text to speech.

You need to set them up according to the values in this link :

> **[Langues compatibles avec Speech-to-Text  |  Documentation...](https://cloud.google.com/speech-to-text/docs/speech-to-text-supported-languages?hl=fr)**
>
> Répertorie toutes les langues compatibles avec Cloud Speech-to-Text
