String ret = null;
try {
ResourceBundle b = ResourceBundle.getBundle(cls.getName());
ret = (String)b.getObject(key);
} catch (Exception e) {
}
if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) {
ret = findProp(cls.getSuperclass(), key);
}
return ret;