code: protected List<String> findAvailableLocales(String resource) {
  		List<String> availableLocales = cachedAvailableLocalePerResource.get(resource);
  		if (availableLocales == null) {
  			availableLocales = LocaleUtils.getAvailableLocaleSuffixesForBundle(resource);
  			cachedAvailableLocalePerResource.put(resource, availableLocales);
  		}
  
  		return availableLocales;
  	}
docs: Finds the available locales
  
  @param resource
  the resource
  @return the available locales for the resource