code: public static final ResourceBundle loadRB(Class<?> clazz, Locale locale) {
  		String pkg = WebcamUtils.class.getPackage().getName().replaceAll("\\.", "/");
  		return PropertyResourceBundle.getBundle(String.format("%s/i18n/%s", pkg, clazz.getSimpleName()));
  	}
docs: Get resource bundle for specific class.
  
  @param clazz the class for which resource bundle should be found
  @param locale the {@link Locale} object
  @return Resource bundle