public static Locale fromString(String string)
Converts Strings to Locales. 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 © 2021. All rights reserved.