code: public static void setTemplateResolver(NlsTemplateResolver templateResolver) {
  
      if (NlsAccess.templateResolver == null) {
        NlsAccess.templateResolver = templateResolver;
      } else if (NlsAccess.templateResolver != templateResolver) {
        LOG.warn("NlsTemplateResolver is already set to {} and will not be changed to {}.",
            NlsAccess.templateResolver, templateResolver);
      }
    }
docs: This method sets (overrides) the default {@link NlsTemplateResolver}. <b>WARNING:</b><br>
  This is only a back-door for simple applications or test situations. Please try to avoid using this feature and
  solve this issue with IoC strategies (using non-final static fields like here is evil). <br>
  <b>ATTENTION:</b><br>
  No synchronization is performed setting the instance. This assumes that an assignment is an atomic operation in the
  JVM you are using. Additionally this method should only be invoked in the initialization phase of your application.
  
  @param templateResolver is the {@link NlsTemplateResolver} to use by default.
  @since 2.0.0