LanguageSettings

data class LanguageSettings @JvmOverloads constructor(val language: String = systemLanguage(), val defaultLanguage: String = "en", val outputMode: LanguageOutputMode = LanguageOutputMode.SINGLE_FILE, val outputLanguages: Set<String> = emptySet())

Shared language settings for localized configuration output.

Constructors

Link copied to clipboard
constructor(language: String = systemLanguage(), defaultLanguage: String = "en", outputMode: LanguageOutputMode = LanguageOutputMode.SINGLE_FILE, outputLanguages: Set<String> = emptySet())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

fallback language used when the selected resource does not exist.

Link copied to clipboard

selected language. Defaults to the current JVM locale.

Link copied to clipboard

languages copied when outputMode is LanguageOutputMode.MULTIPLE_FILES.

Link copied to clipboard

whether localized resources are copied to a single file or multiple files.