You can use vm.$language.current and vm.$language.available to e.g. easily build a language switch component with a single template:
<template>
<div>
<select name="language" v-model="$language.current">
<option v-for="(language, key) in $language.available" :value="key">{{ language }}</option>
</select>
</div>
</template>
Hi. Docs say:
My language list is
I need translation for each of this language to it own language version. For example, for Simplified Chinese
How to do that?
What I tried:
This only produces
Also I'm tried all variants from https://github.com/Polyconseil/vue-gettext#caveat-when-using-either-the-component-translate-or-directive-v-translate-with-interpolation-inside-v-for Nothing not working.
Help me please.