Class AssetMsImplLocalizer


  • public final class AssetMsImplLocalizer
    extends Object
    Since:
    8.6.0
    Author:
    XIMA MEDIA GmbH
    • Field Detail

      • LOCALIZER

        public static final IMessageLocalizer LOCALIZER
        The localizer for this module.
    • Method Detail

      • boundMessageKey

        public static ISerializableFunction<Locale,​String> boundMessageKey​(String key,
                                                                                 Object... params)
        Binds a key (and optional parameters) to a function that returns the localization for a given locale.
        Parameters:
        key - The localization key
        params - The parameters for the localization
        Returns:
        A function that is bound to the given key and params, and takes a locale and returns the localized string.