ApplicationLanguages.Languages Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a ranked list of current runtime language values preferred by the user.
public:
static property IVectorView<Platform::String ^> ^ Languages { IVectorView<Platform::String ^> ^ get(); };
static IVectorView<winrt::hstring> Languages();
public static IReadOnlyList<string> Languages { get; }
var iVectorView = ApplicationLanguages.languages;
Public Shared ReadOnly Property Languages As IReadOnlyList(Of String)
Property Value
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
At runtime, the list of languages for which your app has declared support (the app manifest language list) is compared with the list of languages for which the user has declared a preference (the user profile language list). The app runtime language list is set to this intersection (if the intersection is not empty), or to just the app's default language (if the intersection is empty). For more detail, see the App runtime language list section in Understand user profile languages and app manifest languages.
Note
This property returns the same values as the language list exposed by Windows.ApplicationModel.Resources.Core.ResourceManager.DefaultContext.Languages.