kvision / pl.treksoft.kvision.i18n / I18nManager

I18nManager

(js) interface I18nManager

Functions

(js)

gettext

A static translation function for a singular form.

abstract fun gettext(key: String): String
(js)

ngettext

A static translation function for a plural form.

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

ntr

A dynamic translation function for a plural form.

open fun ntr(singularKey: String, pluralKey: String, value: Int): String
(js)

tr

A dynamic translation function for a singular form.

open fun tr(key: String): String
(js)

trans

A dynamic translation function.

open fun trans(text: String): String
open fun trans(text: String?): String?

Inheritors

(js)

DefaultI18nManager

class DefaultI18nManager : I18nManager
(js)

I18n

A singleton object used for translations.

object I18n : I18nManager
(js)

SimpleI18nManager

class SimpleI18nManager : I18nManager