kvision / pl.treksoft.kvision.core / Widget / translate

translate

(js) protected fun translate(text: String): String

Translates given text with I18n trans function and sets lastLanguage marker.

Parameters

text - a text marked for a dynamic translation

Return
translated text

(js) protected fun translate(text: String?): String?