code: private String applyPattern( String key, Object[] messageArguments )
      {
          String message = getString( key );
  //        MessageFormat formatter = new MessageFormat( message );
          String output = MessageFormat.format( message, messageArguments );
          return output;
      }
docs: Helper function that applies the messageArguments to a message from the resource object