<template>
  <div id="app">
    <label for="locale">locale</label>
    <select v-model="$i18n.locale" id="locale">
      <option v-for="locale in $i18n.availableLocales" :key="locale">
        {{ locale }}
      </option>
    </select>
    <p>message: {{ $t('hello') }}</p>
  </div>
</template>