Translation

sealed class Translation

Represents the return value of useTranslation hook

See also

Functions

Link copied to clipboard
Link copied to clipboard
inline operator fun component2(): I18n

Get an I18n instance and use

Link copied to clipboard
inline operator fun component3(): Boolean
Link copied to clipboard
inline operator fun invoke(key: String): String

Operator that should be used in order to get rid of this:

Link copied to clipboard
inline fun translateLambda(key: String): String

Receives key and return a localized value.