Localized String Builder
A builder class for creating a composite LocalizedString by combining multiple parameter values with customizable formatting options.
Parameter values are checked, if they are LocalizedString and the locale is applied when creating a new string.
The Any.toString or LocalizedString.toString method of the parameters is evaluated on each call of toString or build
This class implements the LocalizedString interface, allowing for locale-dependent string representations.
Strings or localized strings are appended to a mutable list and can be joined into a single string representation with configurable separators, prefixes, postfixes, truncation, limits, and transformation functions.
Parameters
The initial strings or localized strings to include in the builder.
Properties
Functions
Build the new LocalizedString with the current parameters.
Combines the two LocalizedString into one
Combines the LocalizedString and the String into a LocalizedString
Returns the string value based on the currently set Locale in de.comahe.i18n4k.i18n4k (de.comahe.i18n4k.config.I18n4kConfig.locale)
Returns the string value based on the given Locale.