docs: public CmsMessages getMessages(
          String bundleName,
          String language,
          String country,
          String variant,
          String defaultLanguage) {
  
          try {
              if ((defaultLanguage != null) && CmsStringUtil.isEmpty(language)) {
                  language = defaultLanguage;
              }
              if (language == null) {
                  language = "";
              }
              if (country == null) {
                  country = "";
              }
              if (variant == null) {
                  variant = "";
              }
              return getMessages(bundleName, new Locale(language, country, variant));
          } catch (Throwable t) {
              handleException(t);
          }
          return null;
      }