Locale
extension Locale- 
                  
                  Returns an array of Localeobjects corresponding to the user’s preferred languages.DeclarationSwift public static var preferredLocales: [Locale] { get }
extension LocaleReturns an array of Locale objects corresponding to the user’s preferred languages.
Swift
public static var preferredLocales: [Locale] { get }