Package-level declarations

Functions

Link copied to clipboard
fun Context.localizeOrDefault(tableName: String = STDLIB_LOCALIZATION_TABLE_NAME, key: String): String?

Localizes a key from the stdlib table. If the key is not found in the context's locale, it falls back to the default locale (English).

Link copied to clipboard
fun Context.localizeOrNull(tableName: String = STDLIB_LOCALIZATION_TABLE_NAME, key: String, locale: Locale? = null): String?

Localizes a key from a table.