toLocale

common
fun String.toLocale(): Locale

Converts an IETF BCP 47 language tag, such as "en-US" or "de-DE", to a Locale.

fun String.toLocale(): Locale
fun String.toLocale(): Locale