Returns the root, canonical locale.


func CFLocaleGetSystem() -> CFLocale!

Return Value

The root, canonical locale. Ownership follows the The Get Rule.


The root locale contains fixed backstop settings for all locale information.

See Also

Creating a Locale

func CFLocaleCopyCurrent() -> CFLocale!

Returns a copy of the logical locale for the current user.

func CFLocaleCreate(CFAllocator!, CFLocaleIdentifier!) -> CFLocale!

Creates a locale for the given arbitrary locale identifier.

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