LanguageSelector

Functions

Link copied to clipboard
fun displayableLanguages(languages: Set<Language>): Map<Language, String>

Returns a map that makes it possible to select languages regardless of the region. Upon selection, the map will provide a displayable language. For example, Language("en-UK") and Language("en") will return "English". Country selection is not supported here and this considers a separate list should be used for selecting regions (if needed).