Gets the ranked list of current runtime language values preferred by the user.
Syntax
var languages = Windows.Globalization.ApplicationLanguages.languages;
Property value
Type: IVectorView<String> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<String> [.NET]
A computed list of languages that merges the app's declared supported languages (ApplicationLanguages.ManifestLanguages) with the user's ranked list of preferred languages.
Remarks
This list is the recommended source of the best current runtime language value(s) preferred by the user.
Note This property yields the same values as the language list exposed by Windows.ApplicationModel.Resources.Core.ResourceManager.DefaultContext.Languages.
Note If your app passes language tags from this class to any National Language Support functions, it must first convert the tags by calling ResolveLocaleName.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
- ApplicationLanguages
- ApplicationLanguages.ManifestLanguages
- Windows.ApplicationModel.Resources.Core.ResourceManager.DefaultContext.Languages
Build date: 12/4/2012