collatorIdentifier
The collator identifier for the locale.
Declaration
var collatorIdentifier: String { get }Discussion
An example collator identifier is "en".
Use localizedString(forCollatorIdentifier:) to obtain a version of the value suitable for display to the user.
This property contains the same value returned by the object(forKey:) method when passing the collatorIdentifier key.