how do i integrate vee-validate v.2 with nuxt-i18n? – SEO
i am using vee-validate v.2 and i want to localize error massages . i have wrote a plugin like this import {configure} from 'vee-validate' export default function ({app}){ configure({ defaultMessage:(field,values)=>{ values._field_=app.i18n.t(`fields.${field}`) return app.i18n.t(`validation.${values._rule_}`,values) } }) } and this is loacales/en.js…