How to perform language installation via Windows PowerShell Command in Windows 10?

0

1

I would install via command line a new language voice on Windows 10 Text To Speech.

Until now on the internet I've found only a manual way that user could perform: https://support.office.com/en-us/article/download-voices-for-immersive-reader-read-mode-and-read-aloud-4c83a8d8-7486-42f7-8e46-2b0fdf753130

But what about if I would automate this process by a Command Line onto Windows 10?

I read and I tried a manual procedure that explains that it's possible to run a couple of installers (Runtime and Package Language), but I think it's not valid for Windows 10.

Microsoft Speech Platform - Runtime Languages (Version 11) https://www.microsoft.com/en-us/download/details.aspx?id=27224

In details, I tried to install the Runtime and the French package MSSpeech_SR_fr-FR_TELE.msi and MSSpeech_TTS_fr-FR_Hortense.msi but it doesn't work.

I believe that those installers are not designed for Windows 10 because nothing will appear in Windows 10 Language Settings and onto the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\SPEECH\Voices\Tokens

Just to try, I've manually added Chinese and English language as additional languages (following the first link that I paste in this post) and that language will appear as I expected onto the Windows Registry Keys that I mentioned (and on the system).

Using the [Windows PowerShell] (see this link) and the following commands is possible to add a new language in the Windows 10:

PS C:\> $UserLanguageList = New-WinUserLanguageList -Language en-EN
PS C:\> $UserLanguageList[0].Handwriting = $True
PS C:\> Set-WinUserLanguageList -LanguageList $UserLanguageList

The result will be like this: Area-Language Windows Settings

But how can I run the Download and Installation of the TTS voice?

Thanks Cheers

orecchionebruno

Posted 2019-01-21T10:48:11.567

Reputation: 1

First of all, welcome to Super User! We are always glad to help, but you apparently have two Super User accounts: this one and this one. Please take the time to utilize the following Help Center tutorial and ask the Super User staff to merge your accounts: I accidentally created two accounts; how do I merge them?

– Run5k – 2019-01-21T16:37:40.753

Welcome to Super User! You can freely edit your own posts but for your protection, this must be done under the original user account. It looks like you have created a second account, which will also interfere with your ability to comment within your thread and to accept an answer. Merging your accounts will solve the problem. – fixer1234 – 2019-01-23T00:11:13.900

Possible duplicate of Windows PowerShell: how to Set and Run Download of TTS language onto Windows 10 via

– Martin Prikryl – 2019-01-24T11:47:40.093

No answers