code: public String getLanguage(boolean bCheckLocaleAlso)
      {
          String strLanguage = this.getProperty(Params.LANGUAGE);
          if ((strLanguage == null) || (strLanguage.length() == 0))
              if (bCheckLocaleAlso)
                  return Locale.getDefault().getLanguage();
          return strLanguage;
      }
docs: Get the current language.
  @param bCheckLocaleAlso If true, and language has not been set, return the system's language
  @return The current language code.