code: public void setLocale(String locale) {
  
          try {
              m_locale = LocaleUtils.toLocale(locale);
          } catch (IllegalArgumentException e) {
              LOG.error(Messages.get().getBundle().key(Messages.ERR_TAG_INVALID_LOCALE_1, "cms:navigation"), e);
              m_locale = null;
          }
      }
docs: Sets the locale for which the property should be read.
  
  @param locale the locale for which the property should be read.