I want to translate the options found inside the contract_project_type array,
this is my select code:
<b-form-select
:options="contract_project_types"
v-model="form.contract_data.contract_project_type"
id="contract_project_types"
:state="validate(form.contract_data.contract_project_type)"
></b-form-select>
and my Data is :
data: {
contract_project_types: [
'digital_work_city',
'general_company'
]
}
i don't know how to translate these two options.
I tried to put this.$t('digital_work_city') this.$t('general_company') but it doesn't work