Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.73 KB

applicationlanguages_languages.md

File metadata and controls

30 lines (19 loc) · 1.73 KB
-api-id -api-type
P:Windows.Globalization.ApplicationLanguages.Languages
winrt property

Windows.Globalization.ApplicationLanguages.Languages

-description

Gets a ranked list of current runtime language values preferred by the user.

-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.

-examples

-see-also

ApplicationLanguages.ManifestLanguages, Windows.ApplicationModel.Resources.Core.ResourceManager.DefaultContext.Languages