locale
The locale to use to look up the localized string from the string resource.
Declaration
var locale: LocaleDiscussion
To perform localization in a different locale, change this value before passing it to a String or AttributedString initializer that takes a LocalizedStringResource.