code: public static String getMessageText(String key, Object... args) {
  
          return getWpMessagesForCurrentLocale().key(key, args);
      }
docs: Gets the workplace message for the current locale and the given key and arguments.<p>
  
  @param key the message key
  @param args the message arguments
  
  @return the message text for the current locale