String Resource
data class StringResource(val default: String, val translations: Map<IetfLang, Lazy<String>>)(source)
Use this class as a type of your strings object fields. For example:
object Strings {
val someResource: StringResource
}
Content copied to clipboard
Use buildStringResource for useful creation of string resource