[Vuejs]-Looking for a way to translate(i18n) laravels form validation rules inside a Vue form

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',
 ...
}

Leave a comment