kvision / pl.treksoft.kvision.i18n / I18nManager / ngettext

ngettext

abstract fun ngettext(singularKey: String, pluralKey: String, value: Int): String

A static translation function for a plural form.

Parameters

singularKey - a translation key for a singular form.

pluralKey - a translation key for a plural form.

value - a count value.

Return
translated text.