David Hayes
David Hayes

Reputation: 7522

How do you find the selected Speech Language in WP8

Is there a way in WP8 to determine either

I want to use the most appropriate language to use when using the SpeechSynthesizer class for Text to Speech

Upvotes: 0

Views: 224

Answers (1)

Alastair Pitts
Alastair Pitts

Reputation: 19601

Reading the MSDN documentation by default, the SpeechSynthesizer class will default the whatever the user has selected in the settings.

After you create a Windows.Phone.Speech.Synthesis.SpeechSynthesizer object, you can specify the language of a voice to load. A Windows.Phone.Speech.Synthesis.SpeechSynthesizer instance can load any voice that is installed on the phone and use it to generate speech. If no language is specified, the API will load a voice that matches the language that the user selected in Settings/Speech on the phone.

Upvotes: 1

Related Questions