Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
created() {
this.$validator.localize('ar', {
messages: arabic.messages,
attributes: {
email: 'البريد الاليكتروني',
phone: 'رقم الهاتف'
}
});
// start with english locale.
this.$validator.localize('en');
}
};