code: static void installResourceBundle(AddOnClassLoader addOnClassLoader, AddOn addOn) {
          AddOn.BundleData bundleData = addOn.getBundleData();
          if (bundleData.isEmpty()) {
              return;
          }
  
          try {
              ResourceBundle resourceBundle = ResourceBundle.getBundle(
                      bundleData.getBaseName(),
                      Constant.getLocale(),
                      addOnClassLoader,
                      new ZapResourceBundleControl());
              addOn.setResourceBundle(resourceBundle);
              String bundlePrefix = bundleData.getPrefix();
              if (!bundlePrefix.isEmpty()) {
                  Constant.messages.addMessageBundle(bundlePrefix, resourceBundle);
              }
          } catch (MissingResourceException e) {
              logger.error("Declared bundle not found in " + addOn.getId() + " add-on:", e);
          }
      }
docs: Installs (and sets into the add-on) the resource bundle declared by the given add-on, if any.
  
  @param addOnClassLoader the ClassLoader of the add-on.
  @param addOn the add-on.
  @since TODO add version
  @see AddOn#getBundleData()