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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software