original_string: public static function getMessage($errorCode, $language = 'en')
      {
          self::initMessages();
  
          $messagesByLanguage = self::getMessagesByLanguage($language);
          if (!array_key_exists($errorCode, $messagesByLanguage)) {
              return $errorCode;
          }
  
          return $messagesByLanguage[$errorCode];
      }
code: public static function getMessage($errorCode, $language = 'en')
      {
          self::initMessages();
  
          $messagesByLanguage = self::getMessagesByLanguage($language);
          if (!array_key_exists($errorCode, $messagesByLanguage)) {
              return $errorCode;
          }
  
          return $messagesByLanguage[$errorCode];
      }
code_tokens: public static function getMessage ( $ errorCode , $ language = 'en' ) { self :: initMessages ( ) ; $ messagesByLanguage = self :: getMessagesByLanguage ( $ language ) ; if ( ! array_key_exists ( $ errorCode , $ messagesByLanguage ) ) { return $ errorCode ; } return $ messagesByLanguage [ $ errorCode ] ; }
docstring: This static method provides a message suitable for display to a user corresponding to a given Rapid
  Code & language.
  
  @param string $errorCode
  @param string $language 2 character language code, defaults to en
  
  @return string
docstring_tokens: This static method provides a message suitable for display to a user corresponding to a given Rapid Code & language .