code: public String format( String key, Object... params )
      {
          try
          {
              MessageFormat formatter = new MessageFormat( bundle.getString( key ) );
              return formatter.format( params );
          }
          catch (MissingResourceException ex)
          {
              return key;
          }
      }
docs: <p>format.</p>
  
  @param key a {@link java.lang.String} object.
  @param params a {@link java.lang.Object} object.
  @return a {@link java.lang.String} object.