Language

sealed class Language(source)

Represents a language and offers key-bases translations with optional arguments. Because the parser was supposed to remain largely untouched, I (Jan Müller) did not move the parser-translations to the web-frontend, as I did with all other translations.

Author

Arno Ehle

Benedikt Hruschka

Parameters

locale

The Locale of the language.

Inheritors

Functions

Link copied to clipboard

Fetches the translation for a given key.

fun getString(key: String, vararg args: Any?): String

Fetches the translation for a given key and parameters.