init(components:)
Creates a language from its component values.
Declaration
init(components: Locale.Language.Components)Parameters
- components:
A Components instance that provides a custom language code, region, and script for the new Language Swift.struct instance.