Companion

object Companion

Functions

Link copied to clipboard
fun t(locale: Locale?, key: String, vararg args: Any?): String

Gets the localized version of the given key based on the given locale. If the given key does not resolve to any known localized text in a message bundle, this function returns the key. This function will never return null.