confirmation.setCustomValidity((newIntlMessageFormat(messages['password_confirmation.exceeds_maxlength']||'Password confirmation exceeds the maximum password length',locale)).format());
confirmation.setCustomValidity((newIntlMessageFormat(messages['password_confirmation.mismatching']||'Password confirmation does not match',locale)).format());
confirmation.setCustomValidity((newIntlMessageFormat(messages['password_confirmation.exceeds_maxlength']||'Password confirmation exceeds the maximum password length',locale)).format());
confirmation.setCustomValidity((newIntlMessageFormat(messages['password_confirmation.mismatching']||'Password confirmation does not match',locale)).format());