code: public void setLocale (Locale locale) {
  		if (locale.equals(this.locale)) {
  			return;
  		}
      	this.locale = locale;
          ZapResourceBundleControl rbc = new ZapResourceBundleControl();
          ResourceBundle fsRb = loadFsResourceBundle(rbc);
          if (fsRb != null) {
              this.stdMessages = fsRb;
              logger.debug("Using file system Messages resource bundle.");
          } else {
              this.stdMessages = loadResourceBundle("org.zaproxy.zap.resources." + Constant.MESSAGES_PREFIX, rbc);
              logger.debug("Using bundled Messages resource bundle.");
          }
      }
docs: Sets the current locale to the given one and gets a resource bundle for new locale.
  <p>
  The call to this method has no effect if the given locale is the same as the current one.
  </p>
  
  @param locale the new locale
  @see ResourceBundle#getBundle(String, Locale)