object I18n : I18nManager
A singleton object used for translations.
var language: <ERROR CLASS>
Main language of the application. |
|
var manager: I18nManager |
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. |