# SetSpeechLanguage

## Description

Sets the language to use when speaking text, for example "en_GB" for British English, "en_US" for American English, "fr_FR" for French, and so on. If the language engine is not currently on the device then the device will attempt to download it when Speak is next called, this may introduce a delay before that text is spoken. If the download fails, or no internet connection is available then the default language engine for the current device will be used. Currently only works on iOS and Android.

## Definition

SetSpeechLanguage( lang )

void agk::SetSpeechLanguage( const char* lang )

## Parameters

- lang - The language to use for speaking text, default is the device's current language.