編集

次の方法で共有


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

String

Outputs

Microsoft.LanguagePackManagement.Powershell.Commands.InstallLanguage+InstallLanguageJob

System.Collections.Generic.List<Microsoft.LanguagePackManagement.Powershell.Commands.InstalledLanguage>