KiteLocalesScope

abstract class KiteLocalesScope

The locales topic, inside kiteConfig { locales { ... } }.

membermeaningdefault
tagsthe BCP 47 tags your app shipsdetected from Compose resources
enableddeliver the list to this platformtrue
kiteConfig {
locales { tags = listOf("en", "ar", "fr") }
ios { locales { tags = listOf("en", "fr") } } // iOS ships fewer
}

Assigning the list replaces it. tags = emptyList() means this app has no locale list, not "go and detect one".

On iOS the list is written as CFBundleLocalizations in Info.plist, which is the key iOS reads to decide which languages to offer, and added to knownRegions in the Xcode project.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val enabled: Property<Boolean>

Deliver the locale list to this platform. Default: true.

Link copied to clipboard
abstract val tags: ListProperty<String>

The BCP 47 tags your app ships, for example listOf("en", "ar").