getString

Returns a localized value for key using the current platform locale.


fun getString(key: String, locale: String): String

Returns a localized value for key using the provided locale.


fun getString(key: String, locale: String, placeholders: Map<String, String>): String

Returns a localized value for key using locale, replacing placeholders in the form {placeholder} with values from placeholders.