code: @Override
      public void setup() {
  
          if (log.isInfoEnabled()) {
              log.info("Setting default locale to [" + newLocale + "]");
          }
  
          try {
              Locale.setDefault(newLocale);
          } catch (Exception e) {
              log.error("Could not switch locale to ["
                      + newLocale + "]. Continuing with standard locale.", e);
          }
      }
docs: {@inheritDoc}
  <p>Changes the Locale during the execution of the plugin.</p>