Machine translation of posts (#4307)
This commit is contained in:
parent
80982d061e
commit
fbb22799dc
38 changed files with 1912 additions and 180 deletions
|
|
@ -80,3 +80,8 @@ fun getLocaleList(initialLanguages: List<String>): List<Locale> {
|
|||
ensureLanguagesAreFirst(locales, initialLanguages)
|
||||
return locales
|
||||
}
|
||||
|
||||
fun localeNameForUntrustedISO639LangCode(code: String): String {
|
||||
// It seems like it never throws?
|
||||
return Locale(code).displayName
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue