When I need localized text in tag content I do something like this
<span>{{ $t('myText') }}</span>
But I can't find a way to add localized text for tag attribute. I tried
<v-text-field
label="{{ $t('myText') }}"
></v-text-field>
but it didn't work. Could anyone say how to do it?
you can use it directly like any variable :
<v-text-field
:label="$t('myText')"
></v-text-field>