Interface LocaleResolver


@Incubating public interface LocaleResolver
Define the strategy used to resolve the locale user for message interpolation when no locale is defined from the list of supported locales.
Since:
6.1.1
Author:
Guillaume Smet
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the locale used for message interpolation when no locale is defined.
  • Method Details

    • resolve

      Locale resolve(LocaleResolverContext context)
      Returns the locale used for message interpolation when no locale is defined.
      Parameters:
      context - the context
      Returns:
      the locale to use for message interpolation, never null