0👍
✅
You should write :error="$t(errors.name)"
in your components as you write {{ $t("auth.register") }}
to show translated text about register. I assume that you get i18n locale structured object in your errors response, something like this:
errors: {
name: 'errors.name',
...
}
Source:stackexchange.com