-api-id | -api-type |
---|---|
P:Windows.Globalization.ApplicationLanguages.Languages |
winrt property |
Gets a ranked list of current runtime language values preferred by the user.
A computed list of languages that merges the app's declared supported languages (ApplicationLanguages.ManifestLanguages) with the user's ranked list of preferred languages.
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.
ApplicationLanguages.ManifestLanguages, Windows.ApplicationModel.Resources.Core.ResourceManager.DefaultContext.Languages