code: public String formatMessage(String key, Object... params) {
          return Tr.formatMessage(tc, key, params);
      }
docs: Format a message.
  
  @param key message key for the application manager messages file.
  @param params message parameters.
  @return the translated message.