Type Property


A locale representing the generic root values with little localization.


class var system: Locale { get }

Return Value

The generic locale that contains fixed “backstop” settings that provide values for otherwise undefined keys.


Use the system locale when you don’t want any localizations. If you want localizations that match the user's region settings, use the locale given by the current or the autoupdatingCurrent property instead.

See Also

Getting the User's Locale

class var autoupdatingCurrent: Locale

A locale which tracks the user’s current preferences.

class var current: Locale

A locale representing the user's region settings at the time the property is read.

class let currentLocaleDidChangeNotification: NSNotification.Name

A notification that indicates that the user’s locale changed.