简体   繁体   中英

Install language pack + Set UI language powershell

im trying to install and use a new language in Windows 10 1809 with powershell.

I'm installing the language pack using:

Add-WindowsPackage -Online -PackagePath .\lp_de.cab

After the installation is done, i'm try to set the language of the whole windows 10 using:

Set-Culture de-DE
Set-WinUILanguageOverride -Language de-DE

After that i reboot the system, the language is not set. I have to redo the last commando's and then have to sign out again.

So after an installation of a language pack, does the system really have to reboot to use it? Or am i missing something?

Many thanks

You can use these commands to install and set your language :

Add-WindowsPackage -Online -PackagePath .\\lp_de.cab

$ll = New-WinUserLanguageList -Language $language

Set-WinUserLanguageList $ll -Force

Note that $language would be the language code you want to apply (after the previous install)

And if you want to be sure, you can use (GET-WinSystemLocale).Name to check if your language is installed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM