fromString

Decodes the Locale from a languageCode-countryCode or languageCode format.

This does not validate the actual language and country, it just validates the format.

Throws