Package-level declarations

Types

Link copied to clipboard
actual typealias AppLocale = ULocale
typealias AppLocale = ULocale

Represents a locale in the application.

actual typealias AppLocale = NSLocale
typealias AppLocale = NSLocale

Represents a locale in the application.

expect class AppLocale

Represents a locale in the application.

actual typealias AppLocale = Locale
typealias AppLocale = Locale

Represents a locale in the application.

actual typealias AppLocale = String
typealias AppLocale = String

Represents a locale in the application.

Properties

Link copied to clipboard

Returns the current active locale of the system or application.

Returns the current active locale of the system or application.

Returns the current active locale of the system or application.

Returns the current active locale of the system or application.

Returns the current active locale of the system or application.

Link copied to clipboard

The display name of this AppLocale, formatted for display to users.

The display name of this AppLocale, formatted for display to users.

The display name of this AppLocale, formatted for display to users.

The display name of this AppLocale, formatted for display to users.

The display name of this AppLocale, formatted for display to users.

Link copied to clipboard

The language code representing the primary language of this AppLocale.

The language code representing the primary language of this AppLocale.

The language code representing the primary language of this AppLocale.

The language code representing the primary language of this AppLocale.

The language code representing the primary language of this AppLocale.

Link copied to clipboard

The unique BCP 47 language tag identifying this AppLocale.

The unique BCP 47 language tag identifying this AppLocale.

The unique BCP 47 language tag identifying this AppLocale.

The unique BCP 47 language tag identifying this AppLocale.

The unique BCP 47 language tag identifying this AppLocale.

Link copied to clipboard

The region or country code of this AppLocale.

The region or country code of this AppLocale.

The region or country code of this AppLocale.

The region or country code of this AppLocale.

The region or country code of this AppLocale.

Functions

Link copied to clipboard

Returns a list of all available locales supported on the current platform.

Returns a list of all available locales supported on the current platform.

Returns a list of all available locales supported on the current platform.

Returns a list of all available locales supported on the current platform.

Returns a list of all available locales supported on the current platform.

Link copied to clipboard

Creates an AppLocale instance for the specified language or locale code.

Creates an AppLocale instance for the specified language or locale code.

Creates an AppLocale instance for the specified language or locale code.

Creates an AppLocale instance for the specified language or locale code.

Creates an AppLocale instance for the specified language or locale code.