class SimpleI18nManager : I18nManager
SimpleI18nManager() |
fun gettext(key: String): String
A static translation function for a singular form. |
|
fun ngettext(singularKey: String, pluralKey: String, value: Int): String
A static translation function for a plural form. |
open fun ntr(singularKey: String, pluralKey: String, value: Int): String
A dynamic translation function for a plural form. |
|
open fun tr(key: String): String
A dynamic translation function for a singular form. |
|
open fun trans(text: String?): String?
A dynamic translation function. |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |