from String
Decodes the Locale from a languageCode-countryCode or languageCode format.
This does not validate the actual language and country, it just validates the format.
Decodes the Locale from a languageCode-countryCode or languageCode format.
This does not validate the actual language and country, it just validates the format.