Answer the question
In order to leave comments, you need to log in
How to make multilingual?
Hello. Tell me please. How to do multilingual. I have an idea. Make in Vuex -> state -> language. Well, then in each component, make attributes through computed. for example
v-text-field(
:label='username_label'
v-model='username'
)
computed: {
username_label( ) { return this.$store.state.language =='ru' ? 'Имя' : 'Name' }
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question