public static Locale fromString(String string)
Converts String
s to Locale
s. Supports both
IETF language tags
using hyphens (e.g. "de-AT") and the Java format using underscores
(e.g. "de_AT").
string
- the local string either in IETF or Java formatCopyright © 2022. All rights reserved.