Configuration

data class Configuration(val defaultLanguage: String, val scriptingEnabled: Boolean, val globalConfig: GlobalConfig, val pluginConfig: PluginConfig, val sources: MutableMap<String, TranslationSource>)

Data class holding the configuration for Klarity.

Author

TOTHTOMI

Since

Jul. 25, 2023

Constructors

Link copied to clipboard
constructor(defaultLanguage: String, scriptingEnabled: Boolean, globalConfig: GlobalConfig, pluginConfig: PluginConfig, sources: MutableMap<String, TranslationSource>)

Properties

Link copied to clipboard

the default language of Klarity. If no language is specified in KlarityAPI.translate it will use this instead

Link copied to clipboard

configuration regarding globals

Link copied to clipboard

configuration regarding customization

Link copied to clipboard

if set to true the script parser will be executed, otherwise the script will remain in plain text form

Link copied to clipboard

the translation sources