/*
  * This method find the appropriate Manifest Localization file inside the
  * bundle. If not found, return null.
  */
 ResourceBundle getResourceBundle(String localeString, boolean isDefaultLocale) {
   BundleResourceBundle resourceBundle = lookupResourceBundle(localeString);
   if (isDefaultLocale) return (ResourceBundle) resourceBundle;
   // need to determine if this is resource bundle is an empty stem
   // if it is then the default locale should be used
   if (resourceBundle == null || resourceBundle.isStemEmpty())
     return (ResourceBundle) lookupResourceBundle(Locale.getDefault().toString());
   return (ResourceBundle) resourceBundle;
 }