Contents

variant

An optional variant used by the locale.

Declaration

var variant: Locale.Variant?

Discussion

Set this property to override the variant of the locale.

This property corresponds to the va key of the Unicode BCP 47 extension.

See Also

Specifying region components