Password rule localization (getting attribute values from resources)