Skip to content

Locale info

Information refer to the locale set on the device

locale

Represents the current language and region of the device

Original source

The locale value is retrieved from NSLocale.currentLocale property

KInfo's source

val locale: Locale = iosInfo.locale

println(locale) // e.g. Locale(languageCode=it, region=IT)