docs: static List<String> getPathsToSearchForBundle( String bundleName,
                                                     Locale locale ) {
          List<String> result = new ArrayList<String>();
          String pathPrefix = bundleName.replaceAll("\\.", "/");
          String localeVariant = '_' + locale.toString();
          int ndx = localeVariant.lastIndexOf('_');
  
          while (ndx >= 0) {
              String path = pathPrefix + localeVariant + ".properties";
              result.add(path);
              localeVariant = localeVariant.substring(0, ndx);
              ndx = localeVariant.lastIndexOf('_');
          }
          result.add(pathPrefix + localeVariant + ".properties");
          return result;
      }