code: public ThymeleafEngineConfigBuilder<P> setDialect(final IDialect dialect) {
  		dialects().clear();
  		dialects().add(dialect);
  		return this;
  	}
docs: <p>
  Sets a new unique dialect for this template engine.
  </p>
  <p>
  This operation is equivalent to removing all the currently configured
  dialects and then adding this one.
  </p>
  <p>
  This operation can only be executed before processing templates for the
  first time. Once a template is processed, the template engine is
  considered to be <i>initialized</i>, and from then on any attempt to
  change its configuration will result in an exception.
  </p>
  
  @param dialect
  the new unique {@link IDialect} to be used.
  @return this for fluent use