code: private static ResourceBundle findMatch(String basename, Locale pref) {
  
          ResourceBundle match = null;
          try {
              ResourceBundle bundle = CmsResourceBundleLoader.getBundle(basename, pref);
              match = bundle;
          } catch (MissingResourceException mre) {
              // ignored
          }
          return match;
      }
docs: Gets the resource bundle with the given base name and preferred locale.
  
  @param basename the resource bundle base name
  @param pref the preferred locale