StringResource

class StringResource(val default: String, val map: Map<IetfLanguageCode, Lazy<String>>)(source)

Constructors

Link copied to clipboard
constructor(default: String, map: Map<IetfLanguageCode, Lazy<String>>)

Types

Link copied to clipboard
class Builder(var default: String)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun translation(languageCode: IetfLanguageCode): String
Link copied to clipboard
fun StringResource.translation(locale: Locale = Locale.getDefault()): String