toLocale

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

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