Locales

@JsonClass(generateAdapter = true)
data class Locales(val defaultLocale: String, val stringsLocale: String?, val supportedLocales: List<String>?, val configuredLocales: List<String>?, val activeLocale: String?)

Constructors

Link copied to clipboard
constructor(defaultLocale: String, stringsLocale: String?, supportedLocales: List<String>?, configuredLocales: List<String>?, activeLocale: String?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns the active locale.

Link copied to clipboard

Returns all locales configured for the application.

Link copied to clipboard

Returns the default locale of the system.

Link copied to clipboard

Returns the default locale the strings in values/strings.xml are in.

Link copied to clipboard

Returns the locales supported by the application.