ApplicationLanguages.ManifestLanguages | manifestLanguages property

Applies to Windows and Windows Phone

Gets the app's declared list of supported languages.

Syntax


public static IReadOnlyList<string> ManifestLanguages { get; }

Property value

Type: IVectorView<String> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<String> [.NET]

The list of supported languages declared in the app's manifest.

Remarks

If your app passes language tags from this class to any National Language Support functions, it must first convert the tags by calling ResolveLocaleName.

Starting in Windows 8.1:

Language tags can support Unicode extensions. See the Remarks for the ApplicationLanguages class.

Windows Store apps can be deployed using resource packages. When language resource packages are used, the packages that are installed and registered for a given user are determined by the languages in the user's language profile. The set of languages returned by the ManifestLanguages property is limited to the languages currently available on the system for the user. Languages included in the main app package manifest will always be returned; languages from resource packs will be returned only if the language is applicable for the user (that is, is in the user's preferences) and that resource package has been installed and registered for the user at the time the property is accessed.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Globalization
Windows::Globalization [C++]

Metadata

Windows.winmd

See also

ApplicationLanguages

 

 

Show:
© 2014 Microsoft. All rights reserved.