Install-Language
Installs a language onto a device.
Syntax
Install-Language
[-Language] <String>
[-CopyToSettings]
[-ExcludeFeatures]
[-AsJob]
[<CommonParameters>]
Description
Downloads and installs the available language components for the specified language onto a device.
You can also change your Display Language by using the International module commands (Set-WinUILanguageOverride <lnstalled Language>
)
Examples
Example 1: Add a language to a device
Install-Language ja-JP
This command adds the Japanese language to a device.
Parameters
-AsJob
If specified, this parameter will execute the language installation as an async PowerShell job.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CopyToSettings
If specified, this parameter sets the System and Default Device Settings (Windows Display Language, regional and locale formats) to the installed language following the installation.
After a language is added with this command, you have to restart the device or login again for changes to take effect. Once you log back in, you can change your Windows Display Language in Settings App to change the device UI language.
Type: | SwitchParameter |
Aliases: | ApplyToSettings, ApplyToInternationalSettings, CopyToInternationalSettings |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExcludeFeatures
If specified, the associated language Features on Demand won't be installed.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Language
The bcp47 tag of the language that you're installing.
Type: | String |
Aliases: | LanguageId, LanguageTag |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
Microsoft.LanguagePackManagement.Powershell.Commands.InstallLanguage+InstallLanguageJob
System.Collections.Generic.List<Microsoft.LanguagePackManagement.Powershell.Commands.InstalledLanguage>
Related Links
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour