code: protected LocaleResolver resolveLocale() {
          LocaleResolver localeResolver = null;
          String localeResolverBeanId = getSetting(RequestRule.LOCALE_RESOLVER_SETTING_NAME);
          if (localeResolverBeanId != null) {
              localeResolver = getBean(localeResolverBeanId, LocaleResolver.class);
              localeResolver.resolveLocale(getTranslet());
              localeResolver.resolveTimeZone(getTranslet());
          }
          return localeResolver;
      }
docs: Resolve the current locale.
  
  @return the current locale