Edit

Share via


Install-Language

Installs a language onto a device.

Syntax

Default (Default)

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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ApplyToSettings, ApplyToInternationalSettings, CopyToInternationalSettings

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ExcludeFeatures

If specified, the associated language Features on Demand won't be installed.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Language

The bcp47 tag of the language that you're installing.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:LanguageId, LanguageTag

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

Microsoft.LanguagePackManagement.Powershell.Commands.InstallLanguage+InstallLanguageJob

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