Export (0) Print
Expand All

Get-WinUserLanguageList

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-WinUserLanguageList

Gets the language list for the current user account.

Syntax


Get-WinUserLanguageList [ <CommonParameters>]




Detailed Description

The Get-WinUserLanguageList cmdlet returns the current user language settings. These settings include input method, spelling setting, text prediction setting, and handwriting input mode. For more information, see CultureInfo Class and Configurable Language and Cultural Settings.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • List<WinUserLanguage>

    A list of WinUserLanguage objects that contain one or more languages and associated properties from the current user account’s language list. For information about the Generic.List object, see List(Of T) Class.

    The generic list object supports the following methods:

         --Add(“BCP-47”)

         --Insert(index, “BCP-47”)

         --Remove(Index)

    The output language object contains the following properties:

         --BCP-47 (READ). A standard language tag that is used to identify languages. For more information, see the Internet Engineering Task Force (IETF) BCP 47 RFC.

         --Autonym (LP database) (READ). The name of the language in the language itself.

         --English name (LP database) (READ). The name of the language in English.

         --Localized name (LP database) (READ). The name of the language in the current Windows display language.

         --Script (LP database) (READ). The writing system of the language.

         --Input methods (READ/WRITE). A list of input method Tablet Input Panel (TIP) strings that are enabled for this language. The enabled Input methods are listed in the format Language ID: Keyboard layout ID.

         --Handwriting recognition input mode (READ/WRITE). This value is either 0 (freehand) or 1 (write each character separately).


Examples

Example 1

This cmdlet returns the current user account's language list together with BCP-47 tags and the corresponding display name.


PS C:\> Get-WinUserLanguageList
LanguageTag     : en-US
Autonym : English (United States)
EnglishName : English (United States)
LocalizedName : English (United States)
ScriptName : Latin
InputMethodTip : {0409:00000409}
Handwriting : False
LanguageTag : fr-FR
Autonym : français (France)
EnglishName : French (France)
LocalizedName : French (France)
ScriptName : Latin
InputMethodTip : {040c:0000040c}
Handwriting : False

Example 2

This cmdlet returns the list of currently enabled input methods as a TIP string.


PS C:\> (Get-WinUserLanguageList)[0].InputMethodTip
0409:00000409
0409:00010409

Example 3

This cmdlet returns the autonym property of the first item in the user's language list.


PS C:\> (Get-WinUserLanguageList)[0].autonym
English (United States)

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft