code: public static String localizedKeyMacro(String keyName, Object[] params) {
  
          String parameters = "";
          if ((params != null) && (params.length > 0)) {
              for (int i = 0; i < params.length; i++) {
                  if (params[i] != null) {
                      parameters += "|" + params[i].toString();
                  }
              }
          }
          return ""
              + I_CmsMacroResolver.MACRO_DELIMITER
              + I_CmsMacroResolver.MACRO_START
              + CmsMacroResolver.KEY_LOCALIZED_PREFIX
              + keyName
              + parameters
              + I_CmsMacroResolver.MACRO_END;
      }
docs: Returns a macro for the given localization key with the given parameters.<p>
  
  @param keyName the name of the localized key
  @param params the optional parameter array
  
  @return a macro for the given localization key with the given parameters